pub fn url_to_filename(url: &Url) -> Result<PathBuf>
Expand description
Turn provided url
into a hashed filename.
URLs can contain a lot of characters that cannot be used
in filenames (like “?”, “#”, “:”), so in order to cache
them properly they are deterministically hashed into ASCII
strings.