Part of bzrlib.versionedfile View In Hierarchy
Known subclasses: bzrlib.versionedfile.ConstantMapper, bzrlib.versionedfile.URLEscapeMapper
| Method | map | Map key to an underlying storage identifier. |
| Method | unmap | Map a partitioned storage id back to a key prefix. |
| Parameters | key | A key tuple e.g. ('file-id', 'revision-id'). |
| Returns | An underlying storage identifier, specific to the partitioning mechanism. | |
| Parameters | partition_id | The underlying partition id. |
| Returns | As much of a key (or prefix) as is derivable from the partition id. | |