b.k.KnitPlainFactory(_KnitFactory) : class documentation

Part of bzrlib.knit View In Hierarchy

Factory for creating plain Content objects.
Method make Undocumented
Method parse_fulltext This parses an unannotated fulltext.
Method parse_line_delta_iter Undocumented
Method parse_line_delta Undocumented
Method get_fulltext_content Extract just the content lines from a fulltext.
Method get_linedelta_content Extract just the content from a line delta.
Method lower_fulltext Undocumented
Method lower_line_delta Undocumented
Method annotate Undocumented

Inherited from _KnitFactory:

Method parse_record Parse a record into a full content object.
def make(self, lines, version_id):
Undocumented
def parse_fulltext(self, content, version_id):
This parses an unannotated fulltext.

Note that this is not a noop - the internal representation has (versionid, line) - its just a constant versionid.

def parse_line_delta_iter(self, lines, version_id):
Undocumented
def parse_line_delta(self, lines, version_id):
Undocumented
def get_fulltext_content(self, lines):
Extract just the content lines from a fulltext.
def get_linedelta_content(self, lines):
Extract just the content from a line delta.

This doesn't return all of the extra information stored in a delta. Only the actual content lines.

def lower_fulltext(self, content):
Undocumented
def lower_line_delta(self, delta):
Undocumented
def annotate(self, knit, key):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.