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

Method invalidateAllFileContents

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

Source from the content-addressed store, hash-verified

322 }
323
324 invalidateAllFileContents(worktreePath: string): number {
325 return this.fileContentsCache.invalidateByPrefix(worktreePath);
326 }
327
328 // Invalidate all caches for a worktree
329 invalidateWorktree(worktreePath: string): void {

Callers 1

invalidateGitStateCachesFunction · 0.80

Calls 1

invalidateByPrefixMethod · 0.80

Tested by

no test coverage detected