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

Method exists_by_name

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

Check if an identity with the given name exists.

(&self, name: &str)

Source from the content-addressed store, hash-verified

669
670 /// Check if an identity with the given name exists.
671 pub fn exists_by_name(&self, name: &str) -> bool {
672 self.load_by_name(name).is_ok()
673 }
674
675 /// Get the default identity.
676 pub fn get_default(&self) -> Result<Option<Identity>, IdentityError> {

Callers 2

runMethod · 0.80
executeMethod · 0.80

Calls 1

load_by_nameMethod · 0.80

Tested by

no test coverage detected