[][src]Function git_url_parse::normalize_url

pub fn normalize_url(url: &str) -> Result<Url>

normalize_url takes in url as &str and takes an opinionated approach to identify ssh:// or file:// urls that require more information to be added so that they can be parsed more effectively by url::Url::parse()