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

Method is_conflict_resolution

atomic-core/src/change/graph_op.rs:626–635  ·  view source on GitHub ↗

Check if this graph_op represents a conflict resolution.

(&self)

Source from the content-addressed store, hash-verified

624
625 /// Check if this graph_op represents a conflict resolution.
626 pub fn is_conflict_resolution(&self) -> bool {
627 matches!(
628 self,
629 GraphOp::SolveNameConflict { .. }
630 | GraphOp::UnsolveNameConflict { .. }
631 | GraphOp::SolveOrderConflict { .. }
632 | GraphOp::UnsolveOrderConflict { .. }
633 | GraphOp::ResurrectZombies { .. }
634 )
635 }
636
637 /// Check if this graph_op represents a root operation.
638 pub fn is_root_operation(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected