MCPcopy Create free account
hub / github.com/culvertsoft/mgen / findFiles

Function findFiles

buildutil.py:71–76  ·  view source on GitHub ↗
(path, matching)

Source from the content-addressed store, hash-verified

69 return out
70
71def findFiles(path, matching):
72 out = []
73 for root, dirnames, filenames in os.walk(path):
74 for fileName in fnmatch.filter(filenames, matching):
75 out.append(os.path.join(root, fileName))
76 return out
77
78def findFilesExt(path, names, exclDirs = []):
79 out = []

Callers 1

rmFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected