MCPcopy 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. */
266export function normalizePath(path: string): string {
267 return path.replace(/\\/g, '/');
268}

Callers 7

migrateFunction · 0.90
migrateFunction · 0.90
migrateFunction · 0.90
migrateFunction · 0.90
getRelativeImportPathFunction · 0.90
addImportMethod · 0.70
removeImportMethod · 0.70

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected