MCPcopy
hub / github.com/parcel-bundler/parcel / readFile

Function readFile

packages/core/fs/src/OverlayFS.js:137–139  ·  view source on GitHub ↗
(filePath: FilePath, encoding?: Encoding)

Source from the content-addressed store, hash-verified

135
136 // eslint-disable-next-line require-await
137 async readFile(filePath: FilePath, encoding?: Encoding): Promise<any> {
138 return this.readFileSync(filePath, encoding);
139 }
140
141 async writeFile(
142 filePath: FilePath,

Callers 2

FilePageFunction · 0.85
mainFunction · 0.85

Calls 1

readFileSyncMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…