MCPcopy Index your code
hub / github.com/continuedev/continue / getDiffsFromCache

Function getDiffsFromCache

core/autocomplete/snippets/gitDiffCache.ts:70–73  ·  view source on GitHub ↗
(ide: IDE)

Source from the content-addressed store, hash-verified

68}
69
70export async function getDiffsFromCache(ide: IDE): Promise<string[]> {
71 const diffCache = GitDiffCache.getInstance(getDiffFn(ide));
72 return await diffCache.get();
73}

Callers 2

viewDiffImplFunction · 0.90
getDiffSnippetsFunction · 0.90

Calls 3

getDiffFnFunction · 0.85
getMethod · 0.65
getInstanceMethod · 0.45

Tested by

no test coverage detected