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

Method build

atomic-core/src/crdt/apply/conflict.rs:463–474  ·  view source on GitHub ↗

Builds the conflict.

(self)

Source from the content-addressed store, hash-verified

461
462 /// Builds the conflict.
463 pub fn build(self) -> CrdtConflict {
464 CrdtConflict {
465 kind: self.kind,
466 description: self
467 .description
468 .unwrap_or_else(|| self.kind.description().to_string()),
469 entity: self.entity,
470 other_entity: self.other_entity,
471 resolved: false,
472 resolution: None,
473 }
474 }
475}
476
477// CrdtConflictTracker

Calls 1

descriptionMethod · 0.45

Tested by 2

test_conflict_builderFunction · 0.36