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

Method conflict_next

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

Move to the next side of a conflict. # Arguments `id` - The conflict ID (must match the begin call) `changes` - Optional change hashes for this side

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

Source from the content-addressed store, hash-verified

509 /// * `id` - The conflict ID (must match the begin call)
510 /// * `changes` - Optional change hashes for this side
511 fn conflict_next(&mut self, id: usize, changes: Option<&[Hash]>) -> Result<(), std::io::Error> {
512 self.output_conflict_marker(markers::SEPARATOR, id, changes)
513 }
514
515 /// End a conflict region.
516 ///

Callers 2

Implementers 2

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

Calls 1

Tested by 2