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

Method update_vault_entity

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

Source from the content-addressed store, hash-verified

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