Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
21
function
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
formatFiles
Function · 0.70
init.ts
File · 0.50
host.ts
File · 0.50
package_spec.ts
File · 0.50
process
Method · 0.50
Calls
1
readFile
Method · 0.65
Tested by
no test coverage detected