b.m._SmartAddHelper(object) : class documentation

Part of bzrlib.mutabletree View In Hierarchy

Helper for MutableTree.smart_add.
Method get_inventory_delta Undocumented
Method __init__ Undocumented
Method add Undocumented
Method _get_ie Retrieve the most up to date inventory entry for a path.
Method _convert_to_directory Convert an entry to a directory.
Method _add_one_and_parent Add a new entry to the inventory and automatically add unversioned parents.
Method _gather_dirs_to_add Undocumented
def get_inventory_delta(self):
Undocumented
def _get_ie(self, inv_path):
Retrieve the most up to date inventory entry for a path.
Parametersinv_pathNormalized inventory path
ReturnsInventory entry (with possibly invalid .children for directories)
def _convert_to_directory(self, this_ie, inv_path):
Convert an entry to a directory.
Parametersthis_ieInventory entry
inv_pathNormalized path for the inventory entry
ReturnsThe new inventory entry
def _add_one_and_parent(self, parent_ie, path, kind, inv_path):
Add a new entry to the inventory and automatically add unversioned parents.
Parametersparent_ieParent inventory entry if known, or None. If None, the parent is looked up by name and used if present, otherwise it is recursively added.
path
kindKind of new entry (file, directory, etc)
inv_path
ReturnsInventory entry for path and a list of paths which have been added.
def _gather_dirs_to_add(self, user_dirs):
Undocumented
def __init__(self, tree, action, conflicts_related=None):
Undocumented
def add(self, file_list, recurse=True):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.