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

Method diffContent

packages/shell/src/memory.ts:306–308  ·  view source on GitHub ↗
(path: string, newContent: string)

Source from the content-addressed store, hash-verified

304 }
305
306 async diffContent(path: string, newContent: string): Promise<string> {
307 return diffContent(await this.readFile(path), newContent, path, path);
308 }
309
310 async createArchive(
311 path: string,

Callers

nothing calls this directly

Calls 2

readFileMethod · 0.95
diffContentFunction · 0.90

Tested by

no test coverage detected