(p: string)
| 23 | ]); |
| 24 | |
| 25 | function expandHostPath(p: string): string { |
| 26 | const trimmed = p.trim(); |
| 27 | if (trimmed.startsWith('~')) { |
| 28 | return resolve(join(homedir(), trimmed.slice(1))); |
| 29 | } |
| 30 | return resolve(trimmed); |
| 31 | } |
| 32 | |
| 33 | async function findGitRepos(root: string, maxDepth: number): Promise<string[]> { |
| 34 | const repos: string[] = []; |
no outgoing calls
no test coverage detected