MCPcopy
hub / github.com/vitest-dev/vitest / fsPathFromUrl

Function fsPathFromUrl

packages/vitest/src/node/vite.ts:66–68  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

64}
65
66function fsPathFromUrl(url: string): string {
67 return fsPathFromId(cleanUrl(url))
68}

Callers 1

isFileServingAllowedFunction · 0.85

Calls 2

cleanUrlFunction · 0.90
fsPathFromIdFunction · 0.85

Tested by

no test coverage detected