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

Method list_conflicts

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

Source from the content-addressed store, hash-verified

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

Callers 4

conflictsFunction · 0.45
print_conflict_summaryFunction · 0.45
runMethod · 0.45

Calls 2

callMethod · 0.45
into_innerMethod · 0.45