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

Function loopPath

core/loops/registry.js:26–28  ·  view source on GitHub ↗
(projectRoot, id)

Source from the content-addressed store, hash-verified

24}
25
26function loopPath(projectRoot, id) {
27 return path.join(loopsDir(projectRoot), `${id}.json`);
28}
29
30function readJsonIfExists(filePath) {
31 if (!fs.existsSync(filePath)) return null;

Callers 4

registerLoopFunction · 0.85
readLoopFunction · 0.85
updateLoopFunction · 0.85
appendLoopRunFunction · 0.85

Calls 1

loopsDirFunction · 0.85

Tested by

no test coverage detected