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

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

Create a tree with ~10k versioned but not committed files
Method __init__ Instantiate a new creator object, supply the id of the tree
Method _create_tree Create a kernel-like tree with the all files added

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 ensure_cached If caching, make sure the cached copy exists
Method create Create a new tree at 'root'.
Method _get_cache_dir Get the directory to use for caching this tree
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, link_working=False, hot_cache=True):
Instantiate a new creator object, supply the id of the tree
ParameterstestA TestCaseWithTransport object (most creators need we need the build_tree functionality)
def _create_tree(self, root, in_cache=False):
Create a kernel-like tree with the all files added
ParametersrootThe root directory to create the files
in_cacheIs this being created in the cache dir?
API Documentation for Bazaar, generated by pydoctor at 2010-08-03 00:12:18.