Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ CheckoutRevision
Function
CheckoutRevision
tools/inspector_protocol/roll.py:89–91 ·
view source on GitHub ↗
(path, revision)
Source
from the content-addressed store, hash-verified
87
88
89
def
CheckoutRevision(path, revision):
90
os.chdir(path)
91
return
RunCmd([
'git'
,
'checkout'
, revision])
92
93
94
def
GetHeadRevision(path):
Callers
1
main
Function · 0.85
Calls
2
chdir
Method · 0.80
RunCmd
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…