b.tree : module documentation

Part of bzrlib

Tree classes, representing directory at point in time.
Class Tree Abstract file tree.
Class InventoryTree A tree that relies on an inventory for its metadata.
Function find_ids_across_trees Find the ids corresponding to specified filenames.
Class InterTree This class represents operations taking place between two Trees.
Class MultiWalker Walk multiple trees simultaneously, getting combined results.
Function _find_ids_across_trees Find the ids corresponding to specified filenames.
Function _find_children_across_trees Return a set including specified ids and their children.
def find_ids_across_trees(filenames, trees, require_versioned=True):
Find the ids corresponding to specified filenames.

All matches in all trees will be used, and all children of matched directories will be used.

ParametersfilenamesThe filenames to find file_ids for (if None, returns None)
treesThe trees to find file_ids within
require_versionedif true, all specified filenames must occur in at least one tree.
Returnsa set of file ids for the specified filenames and their children.
def _find_ids_across_trees(filenames, trees, require_versioned):
Find the ids corresponding to specified filenames.

All matches in all trees will be used, but subdirectories are not scanned.

ParametersfilenamesThe filenames to find file_ids for
treesThe trees to find file_ids within
require_versionedif true, all specified filenames must occur in at least one tree.
Returnsa set of file ids for the specified filenames
def _find_children_across_trees(specified_ids, trees):
Return a set including specified ids and their children.

All matches in all trees will be used.

ParameterstreesThe trees to find file_ids within
Returnsa set containing all specified ids and their children
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.