setRepoMap() — mcp Function Reference
Architecture documentation for the setRepoMap() function in graph-cache.ts from the mcp codebase.
Entity Profile
Dependency Diagram
graph TD 314364e0_fe4a_b7a7_3c8a_3ec3565c6f43["setRepoMap()"] 108c9ff4_bdb8_518a_9256_9ff4cd9d39a7["graph-cache.ts"] 314364e0_fe4a_b7a7_3c8a_3ec3565c6f43 -->|defined in| 108c9ff4_bdb8_518a_9256_9ff4cd9d39a7 9d72a623_8b26_a485_5797_5f53c18e4294["start()"] 9d72a623_8b26_a485_5797_5f53c18e4294 -->|calls| 314364e0_fe4a_b7a7_3c8a_3ec3565c6f43 style 314364e0_fe4a_b7a7_3c8a_3ec3565c6f43 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/cache/graph-cache.ts lines 570–572
export function setRepoMap(map: Map<string, IndexedGraph>): void {
_repoMap = map;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does setRepoMap() do?
setRepoMap() is a function in the mcp codebase, defined in src/cache/graph-cache.ts.
Where is setRepoMap() defined?
setRepoMap() is defined in src/cache/graph-cache.ts at line 570.
What calls setRepoMap()?
setRepoMap() is called by 1 function(s): start.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free