b.v.ConstantMapper(
KeyMapper
) : class documentation
Part of
bzrlib
.
versionedfile
View In Hierarchy
A key mapper that maps to a constant result.
Method
__init__
Create a ConstantMapper which will return result for all maps.
Method
map
See KeyMapper.map().
Inherited from
KeyMapper
:
Method
unmap
Map a partitioned storage id back to a key prefix.
def __init__(self, result):
Create a ConstantMapper which will return result for all maps.
def map(self, key):
overrides
bzrlib.versionedfile.KeyMapper.map
See KeyMapper.map().
API Documentation
for Bazaar, generated by
pydoctor
at 2022-06-16 00:25:16.