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

Method diffCall

packages/shell/src/tests/agents/workspace.ts:191–200  ·  view source on GitHub ↗
(
    pathA: string,
    pathB: string
  )

Source from the content-addressed store, hash-verified

189 }
190
191 async diffCall(
192 pathA: string,
193 pathB: string
194 ): Promise<string | { error: string }> {
195 try {
196 return await this.workspace.diff(pathA, pathB);
197 } catch (e) {
198 return { error: (e as Error).message };
199 }
200 }
201
202 async diffContentCall(
203 path: string,

Callers 1

workspace.test.tsFile · 0.80

Calls 1

diffMethod · 0.65

Tested by

no test coverage detected