Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ slash
Function
slash
packages/utils/src/helpers.ts:59–61 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
57
}
58
59
export
function
slash(path: string): string {
60
return
path.replace(/\\/g,
'/'
)
61
}
62
63
const
postfixRE = /[?#].*$/
64
export
function
cleanUrl(url: string): string {
Callers
13
generateContextFile
Function · 0.90
getUserEventImport
Function · 0.90
VitestWatcher
Class · 0.90
isIncluded
Method · 0.90
getUntestedFilesByRoot
Method · 0.90
createVitest
Function · 0.90
globFiles
Method · 0.90
filterFiles
Method · 0.90
resolveCacheDir
Method · 0.90
shard
Method · 0.90
resolveConfig
Function · 0.90
formatTestPath
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected