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

Function writeReport

hooks_src/doc-sync.js:194–200  ·  view source on GitHub ↗
(projectRoot, summary, options = {})

Source from the content-addressed store, hash-verified

192}
193
194function writeReport(projectRoot, summary, options = {}) {
195 const dir = path.join(projectRoot, '.planning', 'doc-sync');
196 fs.mkdirSync(dir, { recursive: true });
197 const reportPath = path.join(dir, 'latest.md');
198 fs.writeFileSync(reportPath, renderReport(projectRoot, summary, options) + '\n', 'utf8');
199 return reportPath;
200}
201
202function updateQueue(queuePath, entries, summary, options = {}) {
203 const now = options.now || new Date().toISOString();

Callers 1

processDocSyncQueueFunction · 0.70

Calls 1

renderReportFunction · 0.70

Tested by

no test coverage detected