MCPcopy
hub / github.com/colbymchenry/codegraph / clearCaches

Method clearCaches

src/resolution/index.ts:319–330  ·  view source on GitHub ↗

* Clear internal caches

()

Source from the content-addressed store, hash-verified

317 * Clear internal caches
318 */
319 clearCaches(): void {
320 this.nodeCache.clear();
321 this.fileCache.clear();
322 this.importMappingCache.clear();
323 this.reExportCache.clear();
324 this.nameCache.clear();
325 this.lowerNameCache.clear();
326 this.qualifiedNameCache.clear();
327 this.knownNames = null;
328 this.knownFiles = null;
329 this.cachesWarmed = false;
330 }
331
332 /**
333 * Create the resolution context

Callers 4

initializeMethod · 0.95
runPostExtractMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected