b.b.t.k.KernelLikeInventoryCreator(TreeCreator) : class documentation

Part of bzrlib.benchmarks.tree_creator.kernel_like View In Hierarchy

Return just the memory representation of a committed kernel-like tree
Method __init__ Instantiate a new creator object, supply the id of the tree
Method ensure_cached Make sure we have a cached version of the kernel-like inventory
Method create Create a kernel like inventory
Method _create_and_return Create a kernel-like tree, and return its inventory
Method _open_cached Undocumented

Inherited from TreeCreator:

Method is_caching_enabled Will we try to cache the tree we create?
Method is_cached Is this tree already cached?
Method disable_cache Do not use the cache
Method _get_cache_dir Get the directory to use for caching this tree
Method _create_tree Create the desired tree in the given location.
Method _clone_cached_tree Copy the contents of the cached dir into the destination
Method _protect_files Chmod all files underneath 'root' to prevent writing
def __init__(self, test):
Instantiate a new creator object, supply the id of the tree
ParameterstestA TestCaseWithTransport object (most creators need we need the build_tree functionality)
def ensure_cached(self):
Make sure we have a cached version of the kernel-like inventory
def create(self, root=None):
Create a kernel like inventory
ParametersrootExists to mimic the base class, but this class returns only an in-memory Inventory, so it should always be None.
ReturnsAn Inventory object.
def _create_and_return(self):
Create a kernel-like tree, and return its inventory
def _open_cached(self, cache_dir):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2010-08-03 00:12:18.