MCPcopy Create free account
hub / github.com/coder/ghostty-web / invalidateCache

Method invalidateCache

lib/link-detector.ts:172–175  ·  view source on GitHub ↗

* Invalidate cache when terminal content changes * Should be called on terminal write, resize, or clear

()

Source from the content-addressed store, hash-verified

170 * Should be called on terminal write, resize, or clear
171 */
172 invalidateCache(): void {
173 this.linkCache.clear();
174 this.scannedRows.clear();
175 }
176
177 /**
178 * Invalidate cache for specific rows

Callers 2

registerProviderMethod · 0.95
writeInternalMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected