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

Method drop_stash

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

Source from the content-addressed store, hash-verified

736 }
737
738 pub fn drop_stash(&self, request: pb::DropStashRequest) -> CliResult<pb::DropStashResponse> {
739 self.call(move |backend| async move {
740 match backend {
741 Backend::Local(state) => {
742 services::MutationImpl { state }
743 .drop_stash(Request::new(request))
744 .await
745 .map(|response| response.into_inner())
746 }
747 Backend::Reactor(channel) => {
748 let mut mutation =
749 pb::repository_mutation_service_client::RepositoryMutationServiceClient::new(channel);
750 mutation.drop_stash(request).await.map(|response| response.into_inner())
751 }
752 }
753 })
754 }
755
756 pub fn insert_changes(
757 &self,

Callers 2

stash_popFunction · 0.45
stash_dropFunction · 0.45

Calls 2

callMethod · 0.45
into_innerMethod · 0.45

Tested by

no test coverage detected