Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ read
Method
read
packages/service-worker/cli/filesystem.ts:37–40 ·
view source on GitHub ↗
(_path: string)
Source
from the content-addressed store, hash-verified
35
}
36
37
async
read(_path: string): Promise<string> {
38
const
file = this.canonical(_path);
39
return
fs.readFileSync(file).toString();
40
}
41
42
async
hash(_path: string): Promise<string> {
43
const
file = this.canonical(_path);
Callers
nothing calls this directly
Calls
2
canonical
Method · 0.95
toString
Method · 0.65
Tested by
no test coverage detected