pub fn parse(input: &BStr) -> 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.