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

Method exists_by_name

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

Check if an identity with the given name exists.

(&self, name: &str)

Source from the content-addressed store, hash-verified

661
662 /// Check if an identity with the given name exists.
663 pub fn exists_by_name(&self, name: &str) -> bool {
664 self.load_by_name(name).is_ok()
665 }
666
667 /// Get the default identity.
668 pub fn get_default(&self) -> Result<Option<Identity>, IdentityError> {

Callers 1

runMethod · 0.80

Calls 1

load_by_nameMethod · 0.80

Tested by

no test coverage detected