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

Function envelope

scripts/dashboard-server.js:288–290  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

286 if (unreadable.length) return source(relativeDir, 'unreadable', `${unreadable.length} file(s) could not be parsed`, names.length, unreadable);
287 return source(relativeDir, options.midRun ? 'mid-run' : 'healthy', options.midRun ? 'work is active' : 'source is readable', names.length);
288}
289
290function inspectFile(projectRoot, relativePath, options = {}) {
291 const absolute = path.join(projectRoot, relativePath);
292 if (!fs.existsSync(absolute)) return source(relativePath, 'unknown', 'source is absent');
293 try {

Callers 1

createServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected