[][src]Function git_url::parse

pub fn parse(url: &[u8]) -> Result<Url, Error>

Note: We cannot and should never have to deal with UTF-16 encoded windows strings, so bytes input is acceptable. For file-paths, we don't expect UTF8 encoding either.