(root: string | null)
| 139 | * still dies: a wedged loop writes nothing, so the files stay still. |
| 140 | */ |
| 141 | export 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 |
no test coverage detected