MCPcopy Create free account
hub / github.com/cloudflare/computer / diff

Method diff

packages/computer/src/git/index.ts:236–236  ·  view source on GitHub ↗

Unified diff between a ref (default HEAD) and the working tree.

(options?: GitDiffOptions)

Source from the content-addressed store, hash-verified

234 clone(options: GitCloneOptions): Promise<void>;
235 /** Unified diff between a ref (default HEAD) and the working tree. */
236 diff(options?: GitDiffOptions): Promise<string>;
237 /** Per-file change summary backing `--stat` / `--name-only` / `--name-status`. */
238 diffSummary(options?: GitDiffOptions): Promise<DiffSummaryEntry[]>;
239 /** Initialise a new repository in the bound workspace. */

Callers 3

index.test.tsFile · 0.80
runDiffFunction · 0.80
#callGitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected