MCPcopy Index your code
hub / github.com/angular/angular / getContents

Method getContents

packages/compiler-cli/test/ngtsc/env.ts:136–140  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

134 }
135
136 getContents(fileName: string): string {
137 this.assertExists(fileName);
138 const modulePath = this.fs.resolve(this.outDir, fileName);
139 return this.fs.readFile(modulePath);
140 }
141
142 enableMultipleCompilations(): void {
143 this.changedResources = new Set();

Calls 3

assertExistsMethod · 0.95
resolveMethod · 0.65
readFileMethod · 0.65

Tested by

no test coverage detected