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

Function diffSummary

packages/computer/src/git/index.ts:416–426  ·  view source on GitHub ↗
(options = {})

Source from the content-addressed store, hash-verified

414 });
415 },
416 async diffSummary(options = {}) {
417 const f = await fs();
418 return diffSummaryWith({
419 ...options,
420 fs: f,
421 git: await loadGit<IsomorphicGitDiffClient>(),
422 createPatch: await loadDiffPatch(),
423 readFile: readFileFrom(f),
424 cache,
425 });
426 },
427 async init(options = {}) {
428 await initWith({
429 ...options,

Callers

nothing calls this directly

Calls 4

diffSummaryWithFunction · 0.85
loadDiffPatchFunction · 0.85
readFileFromFunction · 0.85
fsFunction · 0.70

Tested by

no test coverage detected