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):
See KeyMapper.map().
API Documentation for Bazaar, generated by pydoctor at 2019-10-20 00:34:54.