43
43
yield tree.abspath(subp), subp
46
def clean_tree(directory, unknown=False, ignored=False, detritus=False,
46
def clean_tree(directory, ignored=False, detritus=False, dry_run=False):
48
47
"""Remove files in the specified classes from the tree"""
49
48
tree = WorkingTree.open_containing(directory)[0]
52
deletables = iter_deletables(tree, unknown=unknown, ignored=ignored,
59
53
def delete_items(deletables, dry_run=False):