pub fn parse(input: &BStr) -> Result<Url, Error>
Parse the given bytes as a git url.
bytes
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.