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

Method save

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

Save an identity to the store.

(&self, identity: &Identity)

Source from the content-addressed store, hash-verified

437
438 /// Save an identity to the store.
439 pub fn save(&self, identity: &Identity) -> Result<(), IdentityError> {
440 self.save_with_secret(identity, None)
441 }
442
443 /// Save an identity with its secret key.
444 pub fn save_with_keypair(

Callers 9

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 9

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