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

Method constructor

packages/schematics/angular/utility/json-file.ts:31–37  ·  view source on GitHub ↗
(
    private readonly host: Tree,
    private readonly path: string,
  )

Source from the content-addressed store, hash-verified

29 private eol: string;
30
31 constructor(
32 private readonly host: Tree,
33 private readonly path: string,
34 ) {
35 this.content = this.host.readText(this.path);
36 this.eol = getEOL(this.content);
37 }
38
39 private _jsonAst: Node | undefined;
40 private get JsonAst(): Node | undefined {

Callers

nothing calls this directly

Calls 2

getEOLFunction · 0.90
readTextMethod · 0.65

Tested by

no test coverage detected