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

Method new

atomic-core/src/crdt/apply/conflict.rs:250–259  ·  view source on GitHub ↗
(kind: ConflictKind, description: String)

Source from the content-addressed store, hash-verified

248 /// ```
249 #[inline]
250 pub fn new(kind: ConflictKind, description: String) -> Self {
251 Self {
252 kind,
253 description,
254 entity: ConflictEntity::None,
255 other_entity: ConflictEntity::None,
256 resolved: false,
257 resolution: None,
258 }
259 }
260
261 /// Creates a builder for constructing a conflict.
262 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected