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

Method exists_by_name

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

Check if an identity with the given name exists.

(&self, name: &str)

Source from the content-addressed store, hash-verified

690
691 /// Check if an identity with the given name exists.
692 pub fn exists_by_name(&self, name: &str) -> bool {
693 self.load_by_name(name).is_ok()
694 }
695
696 /// Get the default identity.
697 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