MCPcopy Create free account
hub / github.com/nodejs/node / GitChangedFiles

Method GitChangedFiles

deps/v8/tools/release/git_recipes.py:145–154  ·  view source on GitHub ↗
(self, git_hash, **kwargs)

Source from the content-addressed store, hash-verified

143 return True
144
145 def GitChangedFiles(self, git_hash, **kwargs):
146 assert git_hash
147 try:
148 files = self.Git(MakeArgs(["diff --name-only",
149 git_hash,
150 "%s^" % git_hash]), **kwargs)
151 return map(str.strip, files.splitlines())
152 except GitFailedException: # pragma: no cover
153 # Git fails using "^" at branch roots.
154 return []
155
156
157 @Strip

Callers

nothing calls this directly

Calls 4

MakeArgsFunction · 0.85
GitMethod · 0.80
mapFunction · 0.50
splitlinesMethod · 0.45

Tested by

no test coverage detected