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

Function ReadV8IPRevision

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

Source from the content-addressed store, hash-verified

69
70
71def ReadV8IPRevision(node_src_path):
72 lines = open(os.path.join(node_src_path, 'deps/v8/third_party/inspector_protocol/README.v8')).readlines()
73 for line in lines:
74 line = line.strip()
75 if line.startswith(REVISION_LINE_PREFIX):
76 return line[len(REVISION_LINE_PREFIX):]
77 raise Exception('No V8 inspector protocol revision found')
78
79
80def ReadNodeIPRevision(node_src_path):

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…