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

Function extractReportLine

scripts/dashboard.js:409–412  ·  view source on GitHub ↗
(content, label)

Source from the content-addressed store, hash-verified

407 return Array.from(content.matchAll(pattern)).map((match) => match[1].trim());
408}
409
410function extractReportLine(content, label) {
411 const lines = extractReportLines(content, label);
412 return lines.length > 0 ? lines[0] : null;
413}
414
415function extractLastReportLine(content, label) {

Callers 1

readOperatorArtifactsFunction · 0.85

Calls 1

extractReportLinesFunction · 0.85

Tested by

no test coverage detected