Skip to main content

get_user_cache_dir

Function get_user_cache_dir 

Source
pub fn get_user_cache_dir() -> Result<PathBuf, Error>
Expand description

Returns Zoi’s user cache directory according to the XDG Base Directory specification.

§Errors

Returns an error if no suitable user cache directory can be found.