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

Method ChangedContents

deps/v8/PRESUBMIT.py:232–236  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

230 return os.path.normpath(path)
231
232 def ChangedContents(self):
233 with open(self._path) as f:
234 # TODO(liviurau): read only '#include' lines
235 lines = f.readlines()
236 return enumerate(lines, start=1)
237
238 def _FilterDuplicates(impacted_files, affected_files):
239 """"We include all impacted files but exclude affected files that are also

Calls 2

openFunction · 0.50
enumerateFunction · 0.50

Tested by

no test coverage detected