build_web_url

Function build_web_url 

Source
fn build_web_url(repo_url: &str, sha: &str, relative_path: &str) -> String
Expand description

Attempt to build a web-browsable URL from the git remote URL.

Supports GitHub (git@github.com: and https://github.com/) and GitLab (git@gitlab.com:) URL formats. Falls back to git:// URI.