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

Function CheckRepoIsInspectorProtocolCheckout

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

Source from the content-addressed store, hash-verified

48
49
50def CheckRepoIsInspectorProtocolCheckout(path):
51 os.chdir(path)
52 revision = RunCmd(['git', 'config', '--get', 'remote.origin.url']).strip()
53 if (revision != 'https://chromium.googlesource.com/deps/inspector_protocol.git'):
54 raise Exception('%s is not a proper inspector_protocol checkout: %s' % (path, revision))
55
56
57def FindFilesToSyncIn(path):

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…