MCPcopy Index your code
hub / github.com/rocky/python-uncompyle6 / visitor

Function visitor

test/test_pyenvlib.py:107–115  ·  view source on GitHub ↗
(files, dirname, names)

Source from the content-addressed store, hash-verified

105 src_dir, patterns, target_dir, start_with=None, do_verify=False, max_files=200
106):
107 def visitor(files, dirname, names):
108 files.extend(
109 [
110 os.path.normpath(os.path.join(dirname, n))
111 for n in names
112 for pat in patterns
113 if fnmatch(n, pat)
114 ]
115 )
116
117 files = []
118 cwd = os.getcwd()

Callers

nothing calls this directly

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected