b.i.InventoryDeltaDeserializer(object) : class documentation

Part of bzrlib.inventory_delta View In Hierarchy

Deserialize inventory deltas.
Method __init__ Create an InventoryDeltaDeserializer.
Method parse_text_bytes Parse the text bytes of a serialized inventory delta.
Method _deserialize_bool Undocumented
def __init__(self, allow_versioned_root=True, allow_tree_references=True):
Create an InventoryDeltaDeserializer.
Parametersversioned_rootIf True, any root entry that is seen is expected to be versioned, and root entries can have any fileid.
tree_referencesIf True support tree-reference entries.
def _deserialize_bool(self, value):
Undocumented
def parse_text_bytes(self, bytes):
Parse the text bytes of a serialized inventory delta.

If versioned_root and/or tree_references flags were set via require_flags, then the parsed flags must match or a BzrError will be raised.

ParametersbytesThe bytes to parse. This can be obtained by calling delta_to_lines and then doing ''.join(delta_lines).
Returns(parent_id, new_id, versioned_root, tree_references, inventory_delta)
API Documentation for Bazaar, generated by pydoctor at 2019-07-20 00:30:16.