( owner: string, repo: string, branch: string, path: string, )
| 88 | } |
| 89 | |
| 90 | export function constructGithubUrl( |
| 91 | owner: string, |
| 92 | repo: string, |
| 93 | branch: string, |
| 94 | path: string, |
| 95 | ) { |
| 96 | return `https://raw.githubusercontent.com/${owner}/${repo}/${branch}/${path}`; |
| 97 | } |
| 98 | |
| 99 | /** |
| 100 | * Determines the default branch of a GitHub repository. |
no outgoing calls
no test coverage detected