Get the number of identities in the store.
(&self)
| 716 | |
| 717 | /// Get the number of identities in the store. |
| 718 | pub fn count(&self) -> Result<usize, IdentityError> { |
| 719 | Ok(self.list()?.len()) |
| 720 | } |
| 721 | |
| 722 | /// Get the directory for an identity. |
| 723 | fn identity_dir(&self, identity: &Identity) -> PathBuf { |