Function password_store_dir

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

The default password store directory.

This is usually ~/.password-store but can be overwritten by the environment variable defined in PASSWORD_STORE_DIR_ENV.

ยงErrors

This function can produce an error during path canonicalization. This means that paths which begin with ~ are resolved to the current users home directory which can produce io errors.