Part of bzrlib.knit View In Hierarchy
Method | make | Undocumented |
Method | parse_fulltext | Convert fulltext to internal representation |
Method | parse_line_delta_iter | Undocumented |
Method | parse_line_delta | Convert a line based delta into internal representation. |
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 | convert a fulltext content record into a serializable form. |
Method | lower_line_delta | convert a delta into a serializable form. |
Method | annotate | Undocumented |
Inherited from _KnitFactory:
Method | parse_record | Parse a record into a full content object. |
fulltext content is of the format revid(utf8) plaintext
internal representation is of the format: (revid, plaintext)
line delta is in the form of: intstart intend intcount 1..count lines: revid(utf8) newline
internal representation is (start, end, count, [1..count tuples (revid, newline)])
Parameters | plain | If True, the lines are returned as a plain list without annotations, not as a list of (origin, content) tuples, i.e. (start, end, count, [1..count newline]) |
This doesn't return all of the extra information stored in a delta. Only the actual content lines.
see parse_fulltext which this inverts.