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

Method writeFileBytes

packages/shell/src/workspace.ts:49–51  ·  view source on GitHub ↗
(path: string, content: Uint8Array)

Source from the content-addressed store, hash-verified

47 }
48
49 async writeFileBytes(path: string, content: Uint8Array): Promise<void> {
50 await this.ws.writeFileBytes(path, content);
51 }
52
53 async appendFile(path: string, content: string | Uint8Array): Promise<void> {
54 if (typeof content === "string") {

Callers

nothing calls this directly

Calls 1

writeFileBytesMethod · 0.65

Tested by

no test coverage detected