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

Method appendFile

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

Source from the content-addressed store, hash-verified

118 }
119
120 async appendFile(path: string, content: string | Uint8Array): Promise<void> {
121 await this.fs.appendFile(path, content);
122 }
123
124 async readJson(path: string): Promise<unknown> {
125 return parseJsonFileContent(await this.readFile(path), path);

Callers

nothing calls this directly

Calls 1

appendFileMethod · 0.65

Tested by

no test coverage detected