pub fn is_url(argument: &str) -> boolExpand description
Whether an argument names a URL: it starts with a scheme of two or more characters (a letter, then letters,
digits, +, - or ., as RFC 3986 allows) and a colon. Two characters at least, so a Windows drive path such as
C:\x.json stays a path; the character set admits s3: and git+ssh:, which are reported as unsupported rather
than read as file names.