MCPcopy Create free account
hub / github.com/codesandbox/excalidraw-firebase / readFileSync

Method readFileSync

.pnp.cjs:6798–6801  ·  view source on GitHub ↗
(p, encoding)

Source from the content-addressed store, hash-verified

6796 });
6797 }
6798 readFileSync(p, encoding) {
6799 const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p;
6800 return this.realFs.readFileSync(fsNativePath, encoding);
6801 }
6802 async readdirPromise(p, opts) {
6803 return await new Promise((resolve, reject) => {
6804 if (opts) {

Callers

nothing calls this directly

Calls 1

readFileSyncMethod · 0.45

Tested by

no test coverage detected