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

Method delete

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

Source from the content-addressed store, hash-verified

79 }
80
81 delete(path: Path): Observable<void> {
82 return observableFrom(
83 fsPromises.rm(getSystemPath(path), { force: true, recursive: true, maxRetries: 3 }),
84 );
85 }
86
87 rename(from: Path, to: Path): Observable<void> {
88 return observableFrom(fsPromises.rename(getSystemPath(from), getSystemPath(to)));

Callers

nothing calls this directly

Calls 1

getSystemPathFunction · 0.90

Tested by

no test coverage detected