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

Method invalidateStatus

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

Source from the content-addressed store, hash-verified

272 }
273
274 invalidateStatus(worktreePath: string): void {
275 this.statusCache.delete(worktreePath);
276 }
277
278 // Parsed diff cache methods
279 getParsedDiff<T>(worktreePath: string, diffHash: string): T | null {

Callers 3

invalidateGitStateCachesFunction · 0.80
registerGitWatcherIPCFunction · 0.80
chats.tsFile · 0.80

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected