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

Function readFile

packages/angular/cli/src/utilities/config.ts:23–25  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

21function createWorkspaceHost(): workspaces.WorkspaceHost {
22 return {
23 readFile(path) {
24 return fs.readFile(path, 'utf-8');
25 },
26 async writeFile(path, data) {
27 await fs.writeFile(path, data);
28 },

Callers 5

formatFilesFunction · 0.70
init.tsFile · 0.50
host.tsFile · 0.50
package_spec.tsFile · 0.50
processMethod · 0.50

Calls 1

readFileMethod · 0.65

Tested by

no test coverage detected