MCPcopy Index your code
hub / github.com/angular/angular / normalizePath

Method normalizePath

adev/src/app/editor/typings-loader.service.ts:219–227  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

217 }
218
219 private normalizePath(path: string): string {
220 if (path.startsWith('./')) {
221 return path.substring(2);
222 }
223 if (path.startsWith('.')) {
224 return path.substring(1);
225 }
226 return path;
227 }
228}

Callers 1

getFilesToReadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected