(repo: string, ref: string, path: string, line: number, character: number)
| 4 | */ |
| 5 | |
| 6 | export const getSourcegraphUrl = (repo: string, ref: string, path: string, line: number, character: number): string => { |
| 7 | const repoUrl = `https://sourcegraph.com/github.com/${repo}@${ref}`; |
| 8 | return `${repoUrl}/-/blob${path}#L${line + 1}:${character + 1}`; |
| 9 | }; |
no outgoing calls
no test coverage detected