[−][src]Function cached_path::cached_path
pub fn cached_path(resource: &str) -> Result<PathBuf, Error>
Get the cached path to a resource.
This is equivalent to calling Cache::cached_path
with a temporary Cache object.
Therefore if you're going to be calling this function multiple times,
it's more efficient to create and use a single Cache instead.