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

Method path_already_exists

atomic-core/src/crdt/apply/error.rs:328–333  ·  view source on GitHub ↗
(path: impl Into<String>, existing_trunk: TrunkId)

Source from the content-addressed store, hash-verified

326 /// Creates a `PathAlreadyExists` error.
327 #[inline]
328 pub fn path_already_exists(path: impl Into<String>, existing_trunk: TrunkId) -> Self {
329 ApplyError::PathAlreadyExists {
330 path: path.into(),
331 existing_trunk,
332 }
333 }
334
335 /// Creates an `InvalidTrunkState` error.
336 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected