MCPcopy Index your code
hub / github.com/21st-dev/1code / invalidateParsedDiff

Method invalidateParsedDiff

src/main/lib/git/cache/git-cache.ts:290–292  ·  view source on GitHub ↗
(worktreePath: string)

Source from the content-addressed store, hash-verified

288 }
289
290 invalidateParsedDiff(worktreePath: string): number {
291 return this.parsedDiffCache.invalidateByPrefix(worktreePath);
292 }
293
294 // File contents cache methods
295 getFileContent(worktreePath: string, filePath: string): string | null {

Callers 3

invalidateGitStateCachesFunction · 0.80
registerGitWatcherIPCFunction · 0.80
chats.tsFile · 0.80

Calls 1

invalidateByPrefixMethod · 0.80

Tested by

no test coverage detected