Skip to main content

cache_dir

Function cache_dir 

Source
pub fn cache_dir(benchmark_name: &str) -> Result<PathBuf, BenchError>
Expand description

Returns the cache directory for a specific benchmark.

ยงErrors

Returns BenchError::NoCacheDir if the platform cache directory cannot be determined.