MCPcopy Create free account
hub / github.com/freecodexyz/free-code / invalidate

Method invalidate

src/utils/fileReadCache.ts:80–82  ·  view source on GitHub ↗

* Removes a specific file from the cache.

(filePath: string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.80

Tested by

no test coverage detected