MCPcopy 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
25function readCurrent(filePath) {
26 return JSON.parse(fs.readFileSync(path.resolve(filePath), 'utf8'))
27}
28
29function byId(current) {
30 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