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

Method state_mismatch

atomic-remote/src/error.rs:231–239  ·  view source on GitHub ↗

Create a state mismatch error.

(
        remote_state: impl Into<String>,
        requested_state: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

229
230 /// Create a state mismatch error.
231 pub fn state_mismatch(
232 remote_state: impl Into<String>,
233 requested_state: impl Into<String>,
234 ) -> Self {
235 Self::StateMismatch {
236 remote_state: remote_state.into(),
237 requested_state: requested_state.into(),
238 }
239 }
240
241 /// Create a missing dependencies error.
242 pub fn missing_deps(missing_hashes: Vec<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected