()
| 313 | } |
| 314 | |
| 315 | function originUrl(): string | null { |
| 316 | try { |
| 317 | const out = execSync("git remote get-url origin", { encoding: "utf-8", timeout: 2000 }); |
| 318 | return out.trim(); |
| 319 | } catch { |
| 320 | return null; |
| 321 | } |
| 322 | } |
| 323 | |
| 324 | /** |
| 325 | * Derive a host- and worktree-aware source id for the cwd code corpus. |
no outgoing calls
no test coverage detected