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

Function _FilesImpactedByDepsChange

deps/v8/PRESUBMIT.py:191–196  ·  view source on GitHub ↗
(files)

Source from the content-addressed store, hash-verified

189 sys.path = original_sys_path
190
191 def _FilesImpactedByDepsChange(files):
192 all_files = [f.AbsoluteLocalPath() for f in files]
193 deps_files = [p for p in all_files if IsDepsFile(p)]
194 impacted_files = union([_CollectImpactedFiles(path) for path in deps_files])
195 impacted_file_objs = [ImpactedFile(path) for path in impacted_files]
196 return impacted_file_objs
197
198 def IsDepsFile(p):
199 return os.path.isfile(p) and os.path.basename(p) == 'DEPS'

Callers 1

Calls 4

IsDepsFileFunction · 0.85
unionFunction · 0.85
_CollectImpactedFilesFunction · 0.85
ImpactedFileClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…