Skip to main content

user_data_root

Function user_data_root 

Source
pub fn user_data_root() -> Result<PathBuf, PathError>
Expand description

Returns the unified Cookie Agent per-user data root.

§Errors

Returns PathError::HomeUnavailable when the current user’s home directory cannot be determined.