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

Method invalid_trunk_state

atomic-core/src/crdt/apply/error.rs:337–347  ·  view source on GitHub ↗
(
        trunk_id: TrunkId,
        current_state: impl Into<String>,
        operation: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

335 /// Creates an `InvalidTrunkState` error.
336 #[inline]
337 pub fn invalid_trunk_state(
338 trunk_id: TrunkId,
339 current_state: impl Into<String>,
340 operation: impl Into<String>,
341 ) -> Self {
342 ApplyError::InvalidTrunkState {
343 trunk_id,
344 current_state: current_state.into(),
345 operation: operation.into(),
346 }
347 }
348
349 /// Creates an `InvalidBranchState` error.
350 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected