Skip to main content

base_cache_dir

Function base_cache_dir 

Source
pub fn base_cache_dir() -> Result<PathBuf, BenchError>
Expand description

Returns the base cache directory for kermit benchmarks ($XDG_CACHE_HOME/kermit/benchmarks on Linux).

ยงErrors

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