[−][src]Function webext_storage::db::ensure_url_path
pub fn ensure_url_path(p: impl AsRef<Path>) -> Result<Url>
If p
is a file URL, return it, otherwise try and make it one.
Errors if p
is a relative non-url path, or if it's a URL path
that's isn't a file:
URL.