b.d.ProcessEntryPython(object) : class documentation

Part of bzrlib.dirstate View In Hierarchy

No class docstring
Method __init__ Undocumented
Method __iter__ Undocumented
Method iter_changes Iterate over the changes.
Method _process_entry Compare an entry and real disk to generate delta information.
Method _gather_result_for_consistency Check a result we will yield to make sure we are consistent later.
Method _iter_specific_file_parents Iter over the specific file parents.
Method _path_info Generate path_info for unicode_path.
def __init__(self, include_unchanged, use_filesystem_for_exec, search_specific_files, state, source_index, target_index, want_unversioned, tree):
Undocumented
def _process_entry(self, entry, path_info, pathjoin=osutils.pathjoin):
Compare an entry and real disk to generate delta information.
Parameterspath_infotop_relpath, basename, kind, lstat, abspath for the path of entry. If None, then the path is considered absent in the target (Perhaps we should pass in a concrete entry for this ?) Basename is returned as a utf8 string because we expect this tuple will be ignored, and don't want to take the time to decode.
Returns(iter_changes_result, changed). If the entry has not been handled then changed is None. Otherwise it is False if no content or metadata changes have occurred, and True if any content or metadata change has occurred. If self.include_unchanged is True then if changed is not None, iter_changes_result will always be a result tuple. Otherwise, iter_changes_result is None unless changed is True.
def __iter__(self):
Undocumented
def _gather_result_for_consistency(self, result):
Check a result we will yield to make sure we are consistent later.

This gathers result's parents into a set to output later.

ParametersresultA result tuple.
def iter_changes(self):
Iterate over the changes.
def _iter_specific_file_parents(self):
Iter over the specific file parents.
def _path_info(self, utf8_path, unicode_path):
Generate path_info for unicode_path.
ReturnsNone if unicode_path does not exist, or a path_info tuple.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.