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

Method writeFileBytes

packages/shell/src/fs/in-memory-fs.ts:245–247  ·  view source on GitHub ↗
(path: string, content: Uint8Array)

Source from the content-addressed store, hash-verified

243 }
244
245 async writeFileBytes(path: string, content: Uint8Array): Promise<void> {
246 this.insertContent(path, content);
247 }
248
249 async appendFile(path: string, content: string | Uint8Array): Promise<void> {
250 validatePath(path, "append");

Callers

nothing calls this directly

Calls 1

insertContentMethod · 0.95

Tested by

no test coverage detected