b.t.TreeBuilder(object) : class documentation

Part of bzrlib.treebuilder View In Hierarchy

A TreeBuilder allows the creation of specific content in one tree at a time.
Method __init__ Construct a TreeBuilder.
Method build Build recipe into the current tree.
Method finish_tree Finish building the current tree.
Method start_tree Start building on tree.
Method _ensure_building Raise NotBuilding if there is no current tree being built.
def __init__(self):
Construct a TreeBuilder.
def build(self, recipe):
Build recipe into the current tree.
ParametersrecipeA sequence of paths. For each path, the corresponding path in the current tree is created and added. If the path ends in '/' then a directory is added, otherwise a regular file is added.
def _ensure_building(self):
Raise NotBuilding if there is no current tree being built.
def finish_tree(self):
Finish building the current tree.
def start_tree(self, tree):
Start building on tree.
ParameterstreeA tree to start building on. It must provide the MutableTree interface.
API Documentation for Bazaar, generated by pydoctor at 2019-07-19 00:30:15.