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

Method writeFile

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

Source from the content-addressed store, hash-verified

43 }
44
45 async writeFile(path: string, content: string): Promise<void> {
46 await this.ws.writeFile(path, content);
47 }
48
49 async writeFileBytes(path: string, content: Uint8Array): Promise<void> {
50 await this.ws.writeFileBytes(path, content);

Callers

nothing calls this directly

Calls 1

writeFileMethod · 0.65

Tested by

no test coverage detected