MCPcopy Create free account
hub / github.com/codag-megalith/codag-visualizer / setCachedCallGraph

Function setCachedCallGraph

frontend/src/analysis/state.ts:143–146  ·  view source on GitHub ↗
(filePath: string, graph: ExtractedCallGraph)

Source from the content-addressed store, hash-verified

141}
142
143export function setCachedCallGraph(filePath: string, graph: ExtractedCallGraph): void {
144 cachedCallGraphs.set(filePath, graph);
145 saveCallGraphsToStorage();
146}
147
148export function hasCachedCallGraph(filePath: string): boolean {
149 return cachedCallGraphs.has(filePath);

Callers 4

cacheCallGraphsForFilesFunction · 0.90
cacheCallGraphsForFilesFunction · 0.90
performLocalUpdateFunction · 0.90

Calls 2

saveCallGraphsToStorageFunction · 0.85
setMethod · 0.80

Tested by

no test coverage detected