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

Function readText

scripts/dashboard.js:63–69  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

61 }
62}
63
64function readText(filePath) {
65 try {
66 return fs.readFileSync(filePath, 'utf8');
67 } catch {
68 return null;
69 }
70}
71
72function readJson(filePath) {

Callers 7

readJsonFunction · 0.70
countJsonlLinesFunction · 0.70
readCampaignsFunction · 0.70
readOutcomeLedgerFunction · 0.70
readFleetSessionsFunction · 0.70
readOperatorArtifactsFunction · 0.70
countPendingIntakeItemsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected