MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / count

Method count

atomic-identity/src/store.rs:726–728  ·  view source on GitHub ↗

Get the number of identities in the store.

(&self)

Source from the content-addressed store, hash-verified

724
725 /// Get the number of identities in the store.
726 pub fn count(&self) -> Result<usize, IdentityError> {
727 Ok(self.list()?.len())
728 }
729
730 // -----------------------------------------------------------------------
731 // Delegation certificates

Callers 1

Calls 2

lenMethod · 0.45
listMethod · 0.45

Tested by 1