MCPcopy Create free account
hub / github.com/angular/angular / normalizePath

Function normalizePath

packages/core/schematics/utils/change_tracker.ts:276–278  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

274
275/** Normalizes a path to use posix separators. */
276export function normalizePath(path: string): string {
277 return path.replace(/\\/g, '/');
278}

Callers 8

migrateFunction · 0.90
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