MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / clearImportMappingCache

Function clearImportMappingCache

src/resolution/import-resolver.ts:1103–1106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1101 * Clear the import mapping cache (call between indexing runs)
1102 */
1103export function clearImportMappingCache(): void {
1104 importMappingCache.clear();
1105 cppIncludeDirCache.clear();
1106}
1107
1108/**
1109 * Strip JS line + block comments from `content` while preserving

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected