MCPcopy Create free account
hub / github.com/cloudflare/agents / readFileBytes

Method readFileBytes

packages/shell/src/memory.ts:108–110  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

106 }
107
108 async readFileBytes(path: string): Promise<Uint8Array> {
109 return this.fs.readFileBytes(path);
110 }
111
112 async writeFile(path: string, content: string): Promise<void> {
113 await this.fs.writeFile(path, content);

Callers 6

listArchiveMethod · 0.95
extractArchiveMethod · 0.95
compressFileMethod · 0.95
decompressFileMethod · 0.95
hashFileMethod · 0.95
detectFileMethod · 0.95

Calls 1

readFileBytesMethod · 0.65

Tested by

no test coverage detected