Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ normalizePath
Function
normalizePath
packages/core/schematics/utils/change_tracker.ts:266–268 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
264
265
/** Normalizes a path to use posix separators. */
266
export
function
normalizePath(path: string): string {
267
return
path.replace(/\\/g,
'/'
);
268
}
Callers
7
migrate
Function · 0.90
migrate
Function · 0.90
migrate
Function · 0.90
migrate
Function · 0.90
getRelativeImportPath
Function · 0.90
addImport
Method · 0.70
removeImport
Method · 0.70
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected