b.mutabletree : module documentation

Part of bzrlib

MutableTree object.

See MutableTree for more details.

Function needs_tree_write_lock Decorate unbound to take out and release a tree_write lock.
Class MutableTree A MutableTree is a specialisation of Tree which is able to be mutated.
Class MutableTreeHooks A dictionary mapping a hook name to a list of callables for mutabletree
Class PostCommitHookParams Parameters for the post_commit hook.
Class _FastPath A path object with fast accessors for things like basename.
Function _add_one_and_parent Add a new entry to the inventory and automatically add unversioned parents.
Function _add_one Add a new entry to the inventory.
def needs_tree_write_lock(unbound):
Decorate unbound to take out and release a tree_write lock.
def _add_one_and_parent(tree, inv, parent_ie, path, kind, action):
Add a new entry to the inventory and automatically add unversioned parents.
ParametersinvInventory which will receive the new entry.
parent_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.
kindKind of new entry (file, directory, etc)
actioncallback(inv, parent_ie, path, kind); return ignored.
ReturnsA list of paths which have been added.
def _add_one(tree, inv, parent_ie, path, kind, file_id_callback):
Add a new entry to the inventory.
ParametersinvInventory which will receive the new entry.
parent_ieParent inventory entry.
kindKind of new entry (file, directory, etc)
file_id_callbackcallback(inv, parent_ie, path, kind); return a file_id or None to generate a new file id
ReturnsNone
API Documentation for Bazaar, generated by pydoctor at 2010-09-02 00:15:31.