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

Method unsolve_name_conflict

atomic-core/src/change/graph_op.rs:363–369  ·  view source on GitHub ↗

Build the inverse of a name-conflict resolution. `introduced_by` in each tuple must identify the resolution change that introduced the deleted claim edge currently being superseded.

(
        path: impl Into<String>,
        surviving_claimant: Position<H>,
        losing_claims: impl IntoIterator<Item = (Position<H>, GraphNode<H>, H)>,
    )

Source from the content-addressed store, hash-verified

361 /// `introduced_by` in each tuple must identify the resolution change that
362 /// introduced the deleted claim edge currently being superseded.
363 pub fn unsolve_name_conflict(
364 path: impl Into<String>,
365 surviving_claimant: Position<H>,
366 losing_claims: impl IntoIterator<Item = (Position<H>, GraphNode<H>, H)>,
367 ) -> Result<Self, String> {
368 Self::build_name_conflict(path, surviving_claimant, losing_claims, true)
369 }
370
371 fn build_name_conflict(
372 path: impl Into<String>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected