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

Method writeFileBytes

packages/shell/src/memory.ts:116–118  ·  view source on GitHub ↗
(path: string, content: Uint8Array)

Source from the content-addressed store, hash-verified

114 }
115
116 async writeFileBytes(path: string, content: Uint8Array): Promise<void> {
117 await this.fs.writeFileBytes(path, content);
118 }
119
120 async appendFile(path: string, content: string | Uint8Array): Promise<void> {
121 await this.fs.appendFile(path, content);

Callers 4

createArchiveMethod · 0.95
extractArchiveMethod · 0.95
compressFileMethod · 0.95
decompressFileMethod · 0.95

Calls 1

writeFileBytesMethod · 0.65

Tested by

no test coverage detected