(url: string)
| 29 | } |
| 30 | |
| 31 | function extractGitHubInfo(url: string): { owner: string; repo: string } | null { |
| 32 | const match = url.match(/github\.com\/([^\/]+)\/([^\/\)]+)/) |
| 33 | if (match) { |
| 34 | return { owner: match[1], repo: match[2].replace(/\/$/, "") } |
| 35 | } |
| 36 | return null |
| 37 | } |
| 38 | |
| 39 | function generateProductId(name: string): string { |
| 40 | return name |
no outgoing calls
no test coverage detected