MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / invalidate

Method invalidate

source code/utils/fileReadCache.ts:82–84  ·  view source on GitHub ↗

* Removes a specific file from the cache.

(filePath: string)

Source from the content-addressed store, hash-verified

80 * Removes a specific file from the cache.
81 */
82 invalidate(filePath: string): void {
83 this.cache.delete(filePath)
84 }
85
86 /**
87 * Gets cache statistics for debugging/monitoring.

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.80

Tested by

no test coverage detected