()
| 46 | } |
| 47 | |
| 48 | function defaultDeps(): DetectDeps { |
| 49 | return { |
| 50 | exists: existsSync, |
| 51 | home: homedir(), |
| 52 | platform: process.platform, |
| 53 | env: process.env, |
| 54 | onPath: findOnPath, |
| 55 | }; |
| 56 | } |
| 57 | |
| 58 | /** Stock OpenCode CLI location (~/.opencode/bin), OS-specific binary name. */ |
| 59 | function stockCliBinary(d: DetectDeps): string { |
no outgoing calls
no test coverage detected