(cwd: string)
| 6 | // Uses findGitRoot which walks the filesystem (no subprocess) |
| 7 | // Prefer `dirIsInGitRepo()` for async checks |
| 8 | export function projectIsInGitRepo(cwd: string): boolean { |
| 9 | return findGitRoot(cwd) !== null |
| 10 | } |
no outgoing calls
no test coverage detected