87
87
os.chmod(filename, mod)
90
def minimum_path_selection(paths):
91
"""Return the smallset subset of paths which are outside paths.
93
:param paths: A container (and hence not None) of paths.
94
:return: A set of paths sufficient to include everything in paths via
95
is_inside_any, drawn from the paths parameter.
100
other_paths = paths.difference([path])
101
if not is_inside_any(other_paths, path):
102
# this is a top level path, we must check it.
103
search_paths.add(path)