pub fn is_local_path(location: &str) -> bool
Whether location is a local path (not a URL, not starting with ~).
location
~