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

Function getProjectRoot

core/coordination/io.js:9–11  ·  view source on GitHub ↗
(projectRoot)

Source from the content-addressed store, hash-verified

7const STALE_INSTANCE_MS = 2 * 60 * 60 * 1000;
8
9function getProjectRoot(projectRoot) {
10 return projectRoot || process.env.CLAUDE_PROJECT_DIR || process.cwd();
11}
12
13function getCoordinationPaths(projectRoot) {
14 const root = getProjectRoot(projectRoot);

Callers 1

getCoordinationPathsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected