MCPcopy Index your code
hub / github.com/nodejs/node / SearchFiles

Function SearchFiles

tools/utils.py:115–119  ·  view source on GitHub ↗
(dir, ext)

Source from the content-addressed store, hash-verified

113
114
115def SearchFiles(dir, ext):
116 list = glob.glob(dir+ '/**/*.' + ext, recursive=True)
117 if sys.platform == 'win32':
118 list = [ x.replace('\\', '/')for x in list]
119 return sorted(list)

Callers 3

configure_node_lib_filesFunction · 0.90
search_files.pyFile · 0.90

Calls 2

sortedFunction · 0.85
globMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…