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

Method save

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

Save an identity to the store.

(&self, identity: &Identity)

Source from the content-addressed store, hash-verified

416
417 /// Save an identity to the store.
418 pub fn save(&self, identity: &Identity) -> Result<(), IdentityError> {
419 self.save_with_secret(identity, None)
420 }
421
422 /// Save an identity with its secret key.
423 pub fn save_with_keypair(

Callers 8

test_store_save_and_loadFunction · 0.45
test_store_load_by_nameFunction · 0.45
test_store_listFunction · 0.45
test_store_list_filteredFunction · 0.45
test_store_deleteFunction · 0.45
test_store_existsFunction · 0.45

Calls 1

save_with_secretMethod · 0.80

Tested by 8

test_store_save_and_loadFunction · 0.36
test_store_load_by_nameFunction · 0.36
test_store_listFunction · 0.36
test_store_list_filteredFunction · 0.36
test_store_deleteFunction · 0.36
test_store_existsFunction · 0.36