b.inventory_delta : module documentation

Part of bzrlib

Inventory delta serialisation.

See doc/developers/inventory.txt for the description of the format.

In this module the interesting classes are:
  • InventoryDeltaSerializer - object to read/write inventory deltas.
Class InventoryDeltaError An error when serializing or deserializing an inventory delta.
Class IncompatibleInventoryDelta The delta could not be deserialised because its contents conflict with
Class InventoryDeltaSerializer Serialize inventory deltas.
Class InventoryDeltaDeserializer Deserialize inventory deltas.
Function _directory_content Serialize the content component of entry which is a directory.
Function _file_content Serialize the content component of entry which is a file.
Function _link_content Serialize the content component of entry which is a symlink.
Function _reference_content Serialize the content component of entry which is a tree-reference.
Function _dir_to_entry Convert a dir content record to an InventoryDirectory.
Function _file_to_entry Convert a dir content record to an InventoryFile.
Function _link_to_entry Convert a link content record to an InventoryLink.
Function _tree_to_entry Convert a tree content record to a TreeReference.
Function _parse_entry Undocumented
def _directory_content(entry):
Serialize the content component of entry which is a directory.
ParametersentryAn InventoryDirectory.
def _file_content(entry):
Serialize the content component of entry which is a file.
ParametersentryAn InventoryFile.
def _link_content(entry):
Serialize the content component of entry which is a symlink.
ParametersentryAn InventoryLink.
def _reference_content(entry):
Serialize the content component of entry which is a tree-reference.
ParametersentryA TreeReference.
def _dir_to_entry(content, name, parent_id, file_id, last_modified, _type=inventory.InventoryDirectory):
Convert a dir content record to an InventoryDirectory.
def _file_to_entry(content, name, parent_id, file_id, last_modified, _type=inventory.InventoryFile):
Convert a dir content record to an InventoryFile.
def _link_to_entry(content, name, parent_id, file_id, last_modified, _type=inventory.InventoryLink):
Convert a link content record to an InventoryLink.
def _tree_to_entry(content, name, parent_id, file_id, last_modified, _type=inventory.TreeReference):
Convert a tree content record to a TreeReference.
def _parse_entry(path, file_id, parent_id, last_modified, content):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-07-17 00:29:20.