From ced6c7dc462ff4d4baf3fc3b579a3d549c08d29a Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Fri, 2 Aug 2019 23:53:23 +0200 Subject: [PATCH] Remove unused code --- backend/src/service.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/src/service.rs b/backend/src/service.rs index af1851e..cf42c1d 100644 --- a/backend/src/service.rs +++ b/backend/src/service.rs @@ -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 {