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

Function deserializeCallGraph

frontend/src/analysis/state.ts:84–93  ·  view source on GitHub ↗
(data: SerializedCallGraph)

Source from the content-addressed store, hash-verified

82}
83
84function deserializeCallGraph(data: SerializedCallGraph): ExtractedCallGraph {
85 return {
86 filePath: data.filePath,
87 functions: new Map(data.functions),
88 callGraph: new Map(data.callGraph),
89 llmCalls: new Map(data.llmCalls),
90 imports: data.imports,
91 hash: data.hash
92 };
93}
94
95/** Initialize call graph persistence with extension context */
96export function initCallGraphPersistence(ctx: { globalState: { get: (key: string) => any; update: (key: string, value: any) => Thenable<void> } }): void {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected