Skip to main content

reddb_user_cache_root

Function reddb_user_cache_root 

Source
pub fn reddb_user_cache_root() -> Result<PathBuf>
Expand description

Compute ~/.cache/reddb (XDG-aware on Linux, standard on macOS/Windows).

The returned path is not created; callers are responsible for fs::create_dir_all as needed.