MCPcopy
hub / github.com/angular/angular-cli / getSystemPath

Function getSystemPath

packages/angular_devkit/core/src/virtual-fs/path.ts:305–311  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

303}
304
305export function getSystemPath(path: Path): string {
306 if (process.platform.startsWith('win32')) {
307 return asWindowsPath(path);
308 } else {
309 return asPosixPath(path);
310 }
311}

Callers 15

constructorMethod · 0.90
readWorkspaceFunction · 0.90
core_spec.tsFile · 0.90
writeMethod · 0.90
readMethod · 0.90
deleteMethod · 0.90
renameMethod · 0.90
listMethod · 0.90
existsMethod · 0.90
statMethod · 0.90
watchMethod · 0.90
writeMethod · 0.90

Calls 2

asWindowsPathFunction · 0.85
asPosixPathFunction · 0.85

Tested by

no test coverage detected