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

Method save

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

Save an identity to the store.

(&self, identity: &Identity)

Source from the content-addressed store, hash-verified

408
409 /// Save an identity to the store.
410 pub fn save(&self, identity: &Identity) -> Result<(), IdentityError> {
411 self.save_with_secret(identity, None)
412 }
413
414 /// Save an identity with its secret key.
415 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