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

Function ReadNodeIPRevision

tools/inspector_protocol/roll.py:80–86  ·  view source on GitHub ↗
(node_src_path)

Source from the content-addressed store, hash-verified

78
79
80def ReadNodeIPRevision(node_src_path):
81 lines = open(os.path.join(node_src_path, 'deps/inspector_protocol/README.node')).readlines()
82 for line in lines:
83 line = line.strip()
84 if line.startswith(REVISION_LINE_PREFIX):
85 return line[len(REVISION_LINE_PREFIX):]
86 raise Exception('No Node inspector protocol revision found')
87
88
89def CheckoutRevision(path, revision):

Callers 1

mainFunction · 0.85

Calls 2

openFunction · 0.50
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…