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

Method conflict

atomic-core/src/record/error.rs:394–399  ·  view source on GitHub ↗

Create a new conflict error. # Arguments `path` - The path with the conflict `message` - Description of the conflict

(path: impl Into<PathBuf>, message: impl Into<String>)

Source from the content-addressed store, hash-verified

392 /// * `path` - The path with the conflict
393 /// * `message` - Description of the conflict
394 pub fn conflict(path: impl Into<PathBuf>, message: impl Into<String>) -> Self {
395 Self::Conflict {
396 path: path.into(),
397 message: message.into(),
398 }
399 }
400
401 /// Create a new invalid-state error.
402 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected