Skip to main content

normalize_host

Function normalize_host 

Source
pub fn normalize_host(host: &str) -> Result<Url>
Expand description

Turn whatever the user configured into a base URL that Url::join behaves well against: git.example.com -> https://git.example.com/.