MCPcopy Create free account
hub / github.com/TanStack/router / readCurrent

Function readCurrent

scripts/benchmarks/bundle-size/diff.mjs:24–26  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

22}
23
24function readCurrent(filePath) {
25 return JSON.parse(fs.readFileSync(path.resolve(filePath), 'utf8'))
26}
27
28function byId(current) {
29 return new Map((current.metrics || []).map((metric) => [metric.id, metric]))

Callers 1

diff.mjsFile · 0.85

Calls 2

parseMethod · 0.80
resolveMethod · 0.80

Tested by

no test coverage detected