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

Function parseFrontmatterLike

scripts/dashboard.js:350–354  ·  view source on GitHub ↗
(content, key)

Source from the content-addressed store, hash-verified

348 .slice(0, 8);
349}
350
351function parseFrontmatterLike(content, key) {
352 const pattern = new RegExp(`^${key}:\\s*(.+)$`, 'im');
353 const match = content.match(pattern);
354 return match ? match[1].trim() : null;
355}
356
357function readFleetSessions(projectRoot) {

Callers 1

readFleetSessionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected