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

Function readJson

scripts/live-github-steward-proof.js:80–82  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

78}
79
80function readJson(filePath) {
81 return JSON.parse(fs.readFileSync(filePath, 'utf8'));
82}
83
84function writeJson(filePath, value) {
85 writeFile(filePath, `${JSON.stringify(value, null, 2)}\n`);

Callers 1

collectProofFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected