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

Function findDirs

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

Source from the content-addressed store, hash-verified

62 return os.environ[varName]
63
64def findDirs(path, matching):
65 out = []
66 for root, dirnames, filenames in os.walk(path):
67 for dirName in fnmatch.filter(dirnames, matching):
68 out.append(os.path.join(root, dirName))
69 return out
70
71def findFiles(path, matching):
72 out = []

Callers 1

rmFoldersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected