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

Method FindFilesIn

deps/v8/tools/v8_presubmit.py:288–296  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

286 return name.startswith('.')
287
288 def FindFilesIn(self, path):
289 result = []
290 for (root, dirs, files) in os.walk(path):
291 for ignored in [x for x in dirs if self.IgnoreDir(x)]:
292 dirs.remove(ignored)
293 for file in files:
294 if not self.IgnoreFile(file) and self.IsRelevant(file):
295 result.append(join(root, file))
296 return result
297
298
299class CacheableSourceFileProcessor(SourceFileProcessor):

Callers 1

RunOnPathMethod · 0.95

Calls 7

IgnoreDirMethod · 0.95
IgnoreFileMethod · 0.95
joinFunction · 0.90
walkMethod · 0.80
removeMethod · 0.45
IsRelevantMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected