Open or create the default identity store. The default location is `~/.atomic/identities/` in the user's home directory.
()
| 385 | /// |
| 386 | /// The default location is `~/.atomic/identities/` in the user's home directory. |
| 387 | pub fn open_default() -> Result<Self, IdentityError> { |
| 388 | let root = Self::default_store_path()?; |
| 389 | Self::open(&root) |
| 390 | } |
| 391 | |
| 392 | /// Open or create an identity store at the specified path. |
| 393 | pub fn open(root: &Path) -> Result<Self, IdentityError> { |