MCPcopy Index your code
hub / github.com/angular/angular-cli / exists

Method exists

packages/angular_devkit/core/node/host.ts:97–99  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

95 }
96
97 exists(path: Path): Observable<boolean> {
98 return observableFrom(exists(getSystemPath(path)));
99 }
100
101 isDirectory(path: Path): Observable<boolean> {
102 return this.stat(path).pipe(map((stat) => stat.isDirectory()));

Callers

nothing calls this directly

Calls 2

getSystemPathFunction · 0.90
existsFunction · 0.70

Tested by

no test coverage detected