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

Method list_conflicts

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

Source from the content-addressed store, hash-verified

434 }
435
436 pub fn list_conflicts(
437 &self,
438 request: pb::ListConflictsRequest,
439 ) -> CliResult<pb::ListConflictsResponse> {
440 self.call(move |backend| async move {
441 match backend {
442 Backend::Local(state) => services::QueryImpl { state }
443 .list_conflicts(Request::new(request))
444 .await
445 .map(|response| response.into_inner()),
446 Backend::Reactor(channel) => {
447 let mut query =
448 pb::repository_query_service_client::RepositoryQueryServiceClient::new(
449 channel,
450 );
451 query
452 .list_conflicts(request)
453 .await
454 .map(|response| response.into_inner())
455 }
456 }
457 })
458 }
459
460 pub fn preview_mutation(
461 &self,

Callers 4

conflictsFunction · 0.45
print_conflict_summaryFunction · 0.45
runMethod · 0.45

Calls 2

callMethod · 0.45
into_innerMethod · 0.45