pub fn url_scheme(path: &str) -> StringExpand description
Ported from URLScheme. Returns the URL scheme of path, or empty
when path has none or does not parse as a URL. Only paths
containing “://” count as URLs, so a local path with a colon in its
first segment (overlays:v2/dev, c:/x) stays a local path.