MCPcopy Create free account
hub / github.com/cloudflare/computer / read

Method read

packages/computerd/src/fuse/driver.ts:56–56  ·  view source on GitHub ↗
(
    path: string,
    fh: number,
    buffer: Buffer,
    length: number,
    position: number,
    cb: StatusCallback,
  )

Source from the content-addressed store, hash-verified

54 opendir(path: string, flags: number, cb: ResultCallback<number>): void;
55 create(path: string, mode: number, cb: ResultCallback<number>): void;
56 read(
57 path: string,
58 fh: number,
59 buffer: Buffer,

Callers 15

writeFileStreamingFunction · 0.65
scanFileFunction · 0.65
drainFunction · 0.65
readFile.test.tsFile · 0.65
readBytesFunction · 0.65
computerd.test.tsFile · 0.65
drainFunction · 0.65
runner.test.tsFile · 0.65
driver.test.tsFile · 0.65
pullOnceImplFunction · 0.65
drainStreamFunction · 0.65

Calls

no outgoing calls

Tested by 15

drainFunction · 0.52
readBytesFunction · 0.52
drainFunction · 0.52
drainStreamFunction · 0.52
drainExecFunction · 0.52
collectFunction · 0.52
pushFunction · 0.52
pushObjectsFunction · 0.52
pushFunction · 0.52
pushObjectsFunction · 0.52
putFunction · 0.52
readAllFunction · 0.52