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

Function clearAmbientModuleMemos

src/resolution/ambient-modules.ts:615–617  ·  view source on GitHub ↗
(context: ResolutionContext)

Source from the content-addressed store, hash-verified

613
614/** Drop the per-context index (see ReferenceResolver.clearCaches): files and nodes may have changed. */
615export function clearAmbientModuleMemos(context: ResolutionContext): void {
616 MEMO.delete(context);
617}
618
619function memoFor(context: ResolutionContext): Memo {
620 let memo = MEMO.get(context);

Callers 1

clearCachesMethod · 0.90

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected