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

Method isDirectory

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

Source from the content-addressed store, hash-verified

99 }
100
101 isDirectory(path: Path): Observable<boolean> {
102 return this.stat(path).pipe(map((stat) => stat.isDirectory()));
103 }
104
105 isFile(path: Path): Observable<boolean> {
106 return this.stat(path).pipe(map((stat) => stat.isFile()));

Callers

nothing calls this directly

Calls 2

statMethod · 0.95
isDirectoryMethod · 0.65

Tested by

no test coverage detected