()
| 22 | /* ---- Directory discovery ---- */ |
| 23 | |
| 24 | export function findXcodeDirs(): string[] { |
| 25 | const home = process.env.HOME || process.env.USERPROFILE || ''; |
| 26 | const dirs: string[] = []; |
| 27 | const xcodeBase = path.join(home, '.config', 'github-copilot', 'xcode'); |
| 28 | if (fs.existsSync(xcodeBase)) dirs.push(xcodeBase); |
| 29 | return dirs; |
| 30 | } |
| 31 | |
| 32 | /* ---- Helpers ---- */ |
| 33 |
no outgoing calls
no test coverage detected