MCPcopy
hub / github.com/angular/angular-cli / rename

Method rename

packages/angular_devkit/core/node/host.ts:87–89  ·  view source on GitHub ↗
(from: Path, to: Path)

Source from the content-addressed store, hash-verified

85 }
86
87 rename(from: Path, to: Path): Observable<void> {
88 return observableFrom(fsPromises.rename(getSystemPath(from), getSystemPath(to)));
89 }
90
91 list(path: Path): Observable<PathFragment[]> {
92 return observableFrom(fsPromises.readdir(getSystemPath(path))).pipe(

Callers

nothing calls this directly

Calls 2

getSystemPathFunction · 0.90
renameMethod · 0.65

Tested by

no test coverage detected