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

Method begin_conflict

atomic-core/src/output/traits.rs:479–485  ·  view source on GitHub ↗

Begin a conflict region (order conflict). # Arguments `id` - Unique ID for this conflict `changes` - Optional change hashes for the first side

(
        &mut self,
        id: usize,
        changes: Option<&[Hash]>,
    )

Source from the content-addressed store, hash-verified

477 /// * `id` - Unique ID for this conflict
478 /// * `changes` - Optional change hashes for the first side
479 fn begin_conflict(
480 &mut self,
481 id: usize,
482 changes: Option<&[Hash]>,
483 ) -> Result<(), std::io::Error> {
484 self.output_conflict_marker(markers::START, id, changes)
485 }
486
487 /// Begin a zombie conflict region.
488 ///

Implementers 2

traits.rsatomic-core/src/output/traits.rs
writer.rsatomic-core/src/output/repo/writer.rs

Calls 1