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

Method invalid_branch_state

atomic-core/src/crdt/apply/error.rs:351–361  ·  view source on GitHub ↗
(
        branch_id: BranchId,
        current_state: impl Into<String>,
        operation: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

349 /// Creates an `InvalidBranchState` error.
350 #[inline]
351 pub fn invalid_branch_state(
352 branch_id: BranchId,
353 current_state: impl Into<String>,
354 operation: impl Into<String>,
355 ) -> Self {
356 ApplyError::InvalidBranchState {
357 branch_id,
358 current_state: current_state.into(),
359 operation: operation.into(),
360 }
361 }
362
363 /// Creates an `InvalidLeafState` error.
364 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected