Skip to main content

github_url_for_source

Function github_url_for_source 

Source
pub fn github_url_for_source(source: &Source, original: &str) -> String
Expand description

Rewrite an official GitHub API, raw-content, or release URL through one configured source. Sources whose bases embed the canonical GitHub URL (such as https://gh-proxy.com/https://github.com/) also proxy raw content.