Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vercel/vercel
/ normalizePath
Function
normalizePath
packages/build-utils/src/fs/normalize-path.ts:6–8 ·
view source on GitHub ↗
(p: string)
Source
from the content-addressed store, hash-verified
4
* Convert Windows separators to Unix separators.
5
*/
6
export
function
normalizePath(p: string): string {
7
return
isWin ? p.replace(/\\/g,
'/'
) : p;
8
}
Callers
10
relative
Function · 0.90
toProjectRootDirectory
Function · 0.90
linkRepoProject
Function · 0.90
discoverRepoProjects
Function · 0.90
findProjectsFromPath
Function · 0.90
executeBuild
Function · 0.90
createDetectEntrypoint
Function · 0.90
inputRootDirectory
Function · 0.90
unit.get-project-paths.test.ts
File · 0.90
glob
Function · 0.90
Calls
1
replace
Method · 0.80
Tested by
no test coverage detected