pub fn resolve_cache_dir_with( ridx_cache_dir: Option<&str>, xdg_cache_home: Option<&str>, home: Option<&str>, ) -> PathBuf