MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / find_files

Function find_files

tensorflow/tools/pip_package/setup.py:220–224  ·  view source on GitHub ↗

Return all the files matching pattern below root dir.

(pattern, root)

Source from the content-addressed store, hash-verified

218
219
220def find_files(pattern, root):
221 """Return all the files matching pattern below root dir."""
222 for dirpath, _, files in os.walk(root):
223 for filename in fnmatch.filter(files, pattern):
224 yield os.path.join(dirpath, filename)
225
226
227so_lib_paths = [

Callers 1

setup.pyFile · 0.85

Calls 2

filterMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected