Home | History | Annotate | Download | only in utils

Lines Matching refs:paths

47   path_list = gc.get_paths("/tmp", parser)  # contains all ten Paths
87 A filter function that keeps the n largest paths.
89 def keep(paths):
91 for idx, path in enumerate(paths):
94 keepers = [paths[i] for _, i in heapq.nlargest(n, heap)]
111 def keep(paths):
112 """A filter function that keeps exactly one out of every n paths."""
115 for p in paths:
138 A filter function that keeps paths where export_version % n == 0.
140 def keep(paths):
142 for p in paths:
157 A filter function that keeps the n largest paths.
159 def keep(paths):
160 l = set(lf(paths))
161 r = set(rf(paths))
175 def keep(paths):
176 l = set(paths)
177 r = set(f(paths))
183 """Gets a list of Paths in a given directory.
194 A list of Paths contained in the base directory with the parsing function
202 paths = []
208 paths.append(p)
209 return sorted(paths)