normalizePath() — mcp Function Reference
Architecture documentation for the normalizePath() function in graph-cache.ts from the mcp codebase.
Entity Profile
Dependency Diagram
graph TD d16dc47a_bbc0_2745_401a_8a4d3b67257e["normalizePath()"] 2f679171_fd3f_3cd5_48b2_587cc9ec01fd["buildIndexes()"] 2f679171_fd3f_3cd5_48b2_587cc9ec01fd -->|calls| d16dc47a_bbc0_2745_401a_8a4d3b67257e 84fa1508_0318_0a6b_dd7c_b4917273b2b4["describeNode()"] 84fa1508_0318_0a6b_dd7c_b4917273b2b4 -->|calls| d16dc47a_bbc0_2745_401a_8a4d3b67257e fdc0fb6f_bf66_23e1_e32e_b17145da77c5["handler()"] fdc0fb6f_bf66_23e1_e32e_b17145da77c5 -->|calls| d16dc47a_bbc0_2745_401a_8a4d3b67257e d01a6f75_522a_03cd_b386_1c1c752e4564["handler()"] d01a6f75_522a_03cd_b386_1c1c752e4564 -->|calls| d16dc47a_bbc0_2745_401a_8a4d3b67257e fbeba3a0_8168_dd12_bca3_885bafcb50b5["getKeyFilesForDomain()"] fbeba3a0_8168_dd12_bca3_885bafcb50b5 -->|calls| d16dc47a_bbc0_2745_401a_8a4d3b67257e 7447e270_7494_99ba_d664_188091d75987["getHubFunctions()"] 7447e270_7494_99ba_d664_188091d75987 -->|calls| d16dc47a_bbc0_2745_401a_8a4d3b67257e f0435cd0_6489_6dfd_b2b4_5d96d9d44fe2["renderBriefSymbolContext()"] f0435cd0_6489_6dfd_b2b4_5d96d9d44fe2 -->|calls| d16dc47a_bbc0_2745_401a_8a4d3b67257e bfdd214c_fac6_5f6d_06d3_1828e172d91d["renderSymbolContext()"] bfdd214c_fac6_5f6d_06d3_1828e172d91d -->|calls| d16dc47a_bbc0_2745_401a_8a4d3b67257e 29f8c2af_0da8_6d3f_ba3e_184920a85d20["findDefinitionHandler()"] 29f8c2af_0da8_6d3f_ba3e_184920a85d20 -->|calls| d16dc47a_bbc0_2745_401a_8a4d3b67257e 329942b6_776c_c220_56a7_6ce4c9dda7e3["traceCallsHandler()"] 329942b6_776c_c220_56a7_6ce4c9dda7e3 -->|calls| d16dc47a_bbc0_2745_401a_8a4d3b67257e style d16dc47a_bbc0_2745_401a_8a4d3b67257e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/cache/graph-cache.ts lines 255–257
export function normalizePath(path: string): string {
return path.replace(/\\/g, '/');
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does normalizePath() do?
normalizePath() is a function in the mcp codebase.
What calls normalizePath()?
normalizePath() is called by 10 function(s): buildIndexes, describeNode, findDefinitionHandler, getHubFunctions, getKeyFilesForDomain, handler, handler, renderBriefSymbolContext, and 2 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free