Skip to main content

get_cache_root

Function get_cache_root 

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

Returns the root directory for Zoi’s cache.

§Errors

Returns an error if the user’s home directory cannot be determined.