MCPcopy Create free account
hub / github.com/nodejs/node / _readFullFile

Method _readFullFile

deps/v8/tools/js/web-api-helper.mjs:153–156  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

151 }
152
153 async _readFullFile(file) {
154 const text = await file.text();
155 this._handleFileChunk(text);
156 }
157
158 async _streamFile(file, decoder) {
159 const stream = file.stream().pipeThrough(new decoder());

Callers 1

asyncReadFileMethod · 0.95

Calls 2

_handleFileChunkMethod · 0.95
textMethod · 0.65

Tested by

no test coverage detected