Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ fsPathFromUrl
Function
fsPathFromUrl
packages/vite/src/node/utils.ts:243–245 ·
view source on GitHub ↗
(url: string)
Source
from the content-addressed store, hash-verified
241
}
242
243
export
function
fsPathFromUrl(url: string): string {
244
return
fsPathFromId(cleanUrl(url))
245
}
246
247
/**
248
* Check
if
dir is a parent of file
Callers
2
isFileServingAllowed
Function · 0.90
transform
Function · 0.90
Calls
2
cleanUrl
Function · 0.90
fsPathFromId
Function · 0.85
Tested by
no test coverage detected