b.v.FulltextContentFactory(ContentFactory) : class documentation

Part of bzrlib.versionedfile View In Hierarchy

Static data content factory.

This takes a fulltext when created and just returns that during get_bytes_as('fulltext').

Instance Variablessha1None, or the sha1 of the content fulltext.
storage_kindThe native storage kind of this factory. Always 'fulltext'.
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.
Method get_bytes_as Undocumented
def __init__(self, key, parents, sha1, text):
Create a ContentFactory.
def get_bytes_as(self, storage_kind):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.