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

Method isFile

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

Source from the content-addressed store, hash-verified

103 }
104
105 isFile(path: Path): Observable<boolean> {
106 return this.stat(path).pipe(map((stat) => stat.isFile()));
107 }
108
109 // Some hosts may not support stat.
110 stat(path: Path): Observable<virtualFs.Stats<Stats>> {

Callers

nothing calls this directly

Calls 2

statMethod · 0.95
isFileMethod · 0.65

Tested by

no test coverage detected