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

Method update_vault_entity

atomic-cli/src/service/mod.rs:832–851  ·  view source on GitHub ↗
(
        &self,
        request: pb::UpdateVaultEntityRequest,
    )

Source from the content-addressed store, hash-verified

830 }
831
832 pub fn update_vault_entity(
833 &self,
834 request: pb::UpdateVaultEntityRequest,
835 ) -> CliResult<pb::UpdateVaultEntityResponse> {
836 self.call(move |backend| async move {
837 match backend {
838 Backend::Local(state) => services_agent::VaultImpl { state }
839 .update_vault_entity(Request::new(request))
840 .await
841 .map(|response| response.into_inner()),
842 Backend::Reactor(channel) => {
843 let mut vault = pb::vault_service_client::VaultServiceClient::new(channel);
844 vault
845 .update_vault_entity(request)
846 .await
847 .map(|response| response.into_inner())
848 }
849 }
850 })
851 }
852
853 pub fn get_vault_entry(
854 &self,

Callers 4

intent_updateFunction · 0.45
memory_writeFunction · 0.45
vault_goal_stopFunction · 0.45
vault_goal_resumeFunction · 0.45

Calls 2

callMethod · 0.45
into_innerMethod · 0.45

Tested by

no test coverage detected