MCPcopy Create free account
hub / github.com/freecodexyz/free-code / readFileBytesSync

Function readFileBytesSync

src/utils/fsOperations.ts:450–453  ·  view source on GitHub ↗
(fsPath)

Source from the content-addressed store, hash-verified

448 },
449
450 readFileBytesSync(fsPath) {
451 using _ = slowLogging`fs.readFileBytesSync(${fsPath})`
452 return fs.readFileSync(fsPath)
453 },
454
455 readSync(fsPath, options) {
456 using _ = slowLogging`fs.readSync(${fsPath}, ${options.length} bytes)`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected