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

Method exists

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

Check if an identity exists in the store.

(&self, id: &IdentityId)

Source from the content-addressed store, hash-verified

656
657 /// Check if an identity exists in the store.
658 pub fn exists(&self, id: &IdentityId) -> bool {
659 self.find_identity_dir(id).is_ok()
660 }
661
662 /// Check if an identity with the given name exists.
663 pub fn exists_by_name(&self, name: &str) -> bool {

Callers 15

build_unhashed_turn_dataFunction · 0.45
read_settingsMethod · 0.45
write_settingsMethod · 0.45
install_toMethod · 0.45
uninstall_fromMethod · 0.45
is_installed_inMethod · 0.45
uninstall_from_manifestFunction · 0.45
read_json_objectFunction · 0.45
is_installedMethod · 0.45
detect_presenceMethod · 0.45
uninstall_hooks_atFunction · 0.45
read_hooks_fileFunction · 0.45

Calls 1

find_identity_dirMethod · 0.80

Tested by 3

has_attestationMethod · 0.36
save_attestationMethod · 0.36
load_attestationMethod · 0.36