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

Method with_conflicts

atomic-core/src/record/workflow/retrieve.rs:155–159  ·  view source on GitHub ↗

Mark as having conflicts.

(mut self, count: usize)

Source from the content-addressed store, hash-verified

153
154 /// Mark as having conflicts.
155 pub fn with_conflicts(mut self, count: usize) -> Self {
156 self.has_conflicts = count > 0;
157 self.conflict_count = count;
158 self
159 }
160
161 /// Check if content is empty.
162 pub fn is_empty(&self) -> bool {

Callers 4

test_result_cloneFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_result_cloneFunction · 0.36