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

Method ReadFile

deps/v8/tools/mb/mb.py:1289–1292  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

1287 sys.stdout.flush()
1288
1289 def ReadFile(self, path):
1290 # This function largely exists so it can be overriden for testing.
1291 with open(path) as fp:
1292 return fp.read()
1293
1294 def RelPath(self, path, start='.'):
1295 # This function largely exists so it can be overriden for testing.

Callers 9

GNArgsFromDirMethod · 0.95
ReadIOSBotConfigMethod · 0.95
ReadConfigFileMethod · 0.95
ReadIsolateMapMethod · 0.95
RunGNGenMethod · 0.95
GNArgsMethod · 0.95
RunGNAnalyzeMethod · 0.95
ReadInputJSONMethod · 0.95

Calls 2

openFunction · 0.50
readMethod · 0.45

Tested by

no test coverage detected