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

Method list

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

Source from the content-addressed store, hash-verified

196 }
197
198 list(path: Path): Observable<PathFragment[]> {
199 return new Observable((obs) => {
200 const names = readdirSync(getSystemPath(path));
201 obs.next(names.map((name) => fragment(name)));
202 obs.complete();
203 });
204 }
205
206 exists(path: Path): Observable<boolean> {
207 return new Observable((obs) => {

Callers

nothing calls this directly

Calls 4

getSystemPathFunction · 0.90
fragmentFunction · 0.90
nextMethod · 0.80
completeMethod · 0.80

Tested by

no test coverage detected