MCPcopy Create free account
hub / github.com/SethGammon/Citadel / readJsonl

Function readJsonl

scripts/test-telemetry-integrity.js:29–31  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

27}
28
29function readJsonl(filePath) {
30 return fs.readFileSync(filePath, 'utf8').trim().split(/\r?\n/).map((line) => JSON.parse(line));
31}
32
33assert.equal(
34 hashRecord({ b: 2, a: 1 }),

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected