(client: GitClient, ref: string, relativeFilePath: string)
| 48 | |
| 49 | /** Gets a Github URL for viewing the file contents of a specified file for the given ref. */ |
| 50 | export function getFileContentsUrl(client: GitClient, ref: string, relativeFilePath: string) { |
| 51 | const {owner, repo} = client.remoteParams; |
| 52 | return `https://github.com/${owner}/${repo}/blob/${ref}/${relativeFilePath}`; |
| 53 | } |
no outgoing calls
no test coverage detected