Remove unused code

This commit is contained in:
Valentin Brandl 2019-08-02 23:53:23 +02:00
parent befd7ca3f0
commit ced6c7dc46
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -199,10 +199,6 @@ impl Service for GitLab {
fn api_url(path: &FilePath) -> String {
let repo_pattern = format!("{}/{}", path.user, path.repo).replace("/", "%2F");
format!("https://gitlab.com/api/v4/projects/{}", repo_pattern)
// format!(
// "https://gitlab.com/api/v4/projects/{}/repository/branches/{}",
// path.repo, path.commit
// )
}
fn redirect_url(user: &str, repo: &str, commit: &str, file: &str) -> String {