Get the default store path. The default location is `~/.atomic/identities/` under the global config directory — the same resolution as `config.toml`, so `ATOMIC_CONFIG_DIR` relocates the identity store too. The env override is the only reliable cross-platform isolation: `dirs::home_dir()` on Windows resolves the profile known-folder, not `HOME`.
()
| 423 | /// `dirs::home_dir()` on Windows resolves the profile known-folder, |
| 424 | /// not `HOME`. |
| 425 | fn default_store_path() -> Result<PathBuf, IdentityError> { |
| 426 | let config_dir = atomic_config::global_config_dir().ok_or(IdentityError::Config( |
| 427 | atomic_config::ConfigError::NoConfigDir, |
| 428 | ))?; |
| 429 | |
| 430 | Ok(config_dir.join("identities")) |
| 431 | } |
| 432 | |
| 433 | /// Get the store's root directory. |
| 434 | pub fn root(&self) -> &Path { |
nothing calls this directly
no test coverage detected