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

Function readText

scripts/stack-plan.js:52–58  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

50}
51
52function readText(filePath) {
53 try {
54 return fs.readFileSync(filePath, 'utf8');
55 } catch {
56 return null;
57 }
58}
59
60function lineValue(content, label) {
61 const pattern = new RegExp(`^${label}:\\s*(.+)$`, 'm');

Callers 1

parseReadinessReportFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected