Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/router
/ readCurrent
Function
readCurrent
scripts/benchmarks/bundle-size/diff.mjs:25–27 ·
view source on GitHub ↗
(filePath)
Source
from the content-addressed store, hash-verified
23
}
24
25
function
readCurrent(filePath) {
26
return
JSON.parse(fs.readFileSync(path.resolve(filePath),
'utf8'
))
27
}
28
29
function
byId(current) {
30
return
new
Map((current.metrics || []).map((metric) => [metric.id, metric]))
Callers
1
diff.mjs
File · 0.85
Calls
2
parse
Method · 0.80
resolve
Method · 0.80
Tested by
no test coverage detected