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

Function GetHeadRevision

tools/inspector_protocol/roll.py:94–96  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

92
93
94def GetHeadRevision(path):
95 os.chdir(path)
96 return RunCmd(['git', 'rev-parse', 'HEAD'])
97
98
99def main(argv):

Callers 1

mainFunction · 0.70

Calls 2

chdirMethod · 0.80
RunCmdFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…