b.v.ContentFactory(object) : class documentation

Part of bzrlib.versionedfile View In Hierarchy

Known subclasses: bzrlib.knit.KnitContentFactory, bzrlib.knit.LazyKnitContentFactory, bzrlib.versionedfile.AbsentContentFactory, bzrlib.versionedfile.AdapterFactory, bzrlib.versionedfile.ChunkedContentFactory, bzrlib.versionedfile.FulltextContentFactory, bzrlib.weave.WeaveContentFactory

Abstract interface for insertion and retrieval from a VersionedFile.
Instance Variablessha1None, or the sha1 of the content fulltext.
storage_kindThe native storage kind of this factory. One of 'mpdiff', 'knit-annotated-ft', 'knit-annotated-delta', 'knit-ft', 'knit-delta', 'fulltext', 'knit-annotated-ft-gz', 'knit-annotated-delta-gz', 'knit-ft-gz', 'knit-delta-gz'.
keyThe key of this content. Each key is a tuple with a single string in it.
parentsA tuple of parent keys for self.key. If the object has no parent information, None (as opposed to () for an empty list of parents).
Method __init__ Create a ContentFactory.
def __init__(self):
Create a ContentFactory.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.