windowsMappedRealpathSync() — vite Function Reference
Architecture documentation for the windowsMappedRealpathSync() function in utils.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 39c61256_b59f_6ac8_369d_852783910b1b["windowsMappedRealpathSync()"] 031bc221_67a8_c579_f2bf_bb30a08beeb2["utils.ts"] 39c61256_b59f_6ac8_369d_852783910b1b -->|defined in| 031bc221_67a8_c579_f2bf_bb30a08beeb2 style 39c61256_b59f_6ac8_369d_852783910b1b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/utils.ts lines 688–696
function windowsMappedRealpathSync(path: string) {
const realPath = fs.realpathSync.native(path)
if (realPath.startsWith('\\\\')) {
for (const [network, volume] of windowsNetworkMap) {
if (realPath.startsWith(network)) return realPath.replace(network, volume)
}
}
return realPath
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does windowsMappedRealpathSync() do?
windowsMappedRealpathSync() is a function in the vite codebase, defined in packages/vite/src/node/utils.ts.
Where is windowsMappedRealpathSync() defined?
windowsMappedRealpathSync() is defined in packages/vite/src/node/utils.ts at line 688.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free