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

Method readFile

packages/angular/cli/src/package-managers/host.ts:53–53  ·  view source on GitHub ↗

* Reads the content of a file. * @param path The path to the file. * @returns A promise that resolves to the file content as a string.

(path: string)

Source from the content-addressed store, hash-verified

51 * @returns A promise that resolves to the file content as a string.
52 */
53 readFile(path: string): Promise<string>;
54
55 /**
56 * Copies a file from the source path to the destination path.

Callers 15

augmentHostWithResourcesFunction · 0.65
readPackageManifestFunction · 0.65
runTempBinaryFunction · 0.65
readFileFunction · 0.65
searchForGlobalZonelessFunction · 0.65
createSourceFileFunction · 0.65
runMethod · 0.65
findProjectVersionMethod · 0.65
getProjectManifestMethod · 0.65
readFileFunction · 0.65
getCurrentPackageNameMethod · 0.65

Implementers 1

MockHostpackages/angular/cli/src/package-manag

Calls

no outgoing calls

Tested by

no test coverage detected