Module b.mutabletree

Part of bzrlib

MutableTree object.

See MutableTree for more details.

Line # Kind Name Docs
47 Function needs_tree_write_lock Decorate unbound to take out and release a tree_write lock.
60 Class MutableTree A MutableTree is a specialisation of Tree which is able to be mutated.
491 Class MutableTreeHooks A dictionary mapping a hook name to a list of callables for mutabletree
509 Class _FastPath A path object with fast accessors for things like basename.
529 Function _add_one_and_parent Add a new entry to the inventory and automatically add unversioned parents.
562 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 BzrLib, generated by pydoctor at 2008-06-25 00:00:15.