MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / watchdogProgressPaths

Function watchdogProgressPaths

src/mcp/index.ts:141–145  ·  view source on GitHub ↗
(root: string | null)

Source from the content-addressed store, hash-verified

139 * still dies: a wedged loop writes nothing, so the files stay still.
140 */
141export function watchdogProgressPaths(root: string | null): { progressPaths?: string[] } {
142 if (!root) return {};
143 const dbPath = path.join(getCodeGraphDir(root), 'codegraph.db');
144 return { progressPaths: [dbPath, `${dbPath}-wal`] };
145}
146
147/**
148 * Resolve the project root the daemon machinery should key on. Returns

Callers 3

wal-heal.test.tsFile · 0.90
startDirectMethod · 0.85
startDaemonProcessMethod · 0.85

Calls 2

getCodeGraphDirFunction · 0.90
joinMethod · 0.45

Tested by

no test coverage detected