MCPcopy Create free account
hub / github.com/MegEngine/MegCC / find

Function find

script/test_model.py:175–178  ·  view source on GitHub ↗
(name, path)

Source from the content-addressed store, hash-verified

173
174
175def find(name, path):
176 for root, dirs, files in os.walk(path):
177 if name in files and os.path.isfile(os.path.join(root, name)):
178 return os.path.abspath(os.path.join(root, name))
179
180
181def parse_env(dump_dir, bin_dir=None):

Callers 1

parse_envFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected