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

Method read

packages/angular_devkit/schematics/src/tree/host-tree.ts:292–296  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

290
291 // Readonly.
292 read(path: string): Buffer | null {
293 const entry = this.get(path);
294
295 return entry ? entry.content : null;
296 }
297
298 readText(path: string): string {
299 const data = this.read(path);

Callers 3

mergeMethod · 0.95
readTextMethod · 0.95
constructorMethod · 0.95

Calls 1

getMethod · 0.95

Tested by

no test coverage detected