Function git_url::parse::parse [−][src]
pub fn parse(bytes: &[u8]) -> Result<Url, Error>Expand description
Parse the given bytes as git url.
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.