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

Method drop_stash

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

Source from the content-addressed store, hash-verified

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