b.t.m.HasLayout(Matcher) : class documentation

Part of bzrlib.tests.matchers View In Hierarchy

A matcher that checks if a tree has a specific layout.
Instance VariablesentriesList of expected entries, as (path, file_id) pairs.
Method __init__ Undocumented
Method get_tree_layout Get the (path, file_id) pairs for the current tree.
Method __str__ Undocumented
Method match Undocumented
Static Method _strip_unreferenced_directories Strip all directories that don't (in)directly contain any files.
def __init__(self, entries):
Undocumented
def get_tree_layout(self, tree):
Get the (path, file_id) pairs for the current tree.
@staticmethod
def _strip_unreferenced_directories(entries):
Strip all directories that don't (in)directly contain any files.
ParametersentriesList of path strings or (path, ie) tuples to process
def __str__(self):
Undocumented
def match(self, tree):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.