MCPcopy Create free account
hub / github.com/CatMuse/HiNote / invalidateCache

Method invalidateCache

src/repositories/HighlightRepository.ts:102–104  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

100 }
101
102 invalidateCache(filePath: string): void {
103 this.cache.delete(filePath);
104 }
105
106 getAllCachedHighlights(): Map<string, HiNote[]> {
107 return new Map(this.cache);

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.80

Tested by

no test coverage detected