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

Method read

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

Source from the content-addressed store, hash-verified

73 }
74
75 read(path: Path): Observable<virtualFs.FileBuffer> {
76 return observableFrom(fsPromises.readFile(getSystemPath(path))).pipe(
77 map((buffer) => new Uint8Array(buffer).buffer),
78 );
79 }
80
81 delete(path: Path): Observable<void> {
82 return observableFrom(

Callers

nothing calls this directly

Calls 2

getSystemPathFunction · 0.90
readFileMethod · 0.65

Tested by

no test coverage detected