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

Function lineValue

scripts/stack-plan.js:60–64  ·  view source on GitHub ↗
(content, label)

Source from the content-addressed store, hash-verified

58}
59
60function lineValue(content, label) {
61 const pattern = new RegExp(`^${label}:\\s*(.+)$`, 'm');
62 const match = content.match(pattern);
63 return match ? match[1].trim() : null;
64}
65
66function gateStatus(content, gateLabel) {
67 const escaped = gateLabel.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');

Callers 1

parseReadinessReportFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected