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

Method cyclic

atomic-core/src/output/mod.rs:276–291  ·  view source on GitHub ↗

Create a new cyclic conflict. Cyclic conflicts occur when there are circular dependencies in the content graph that prevent linear output.

(
        path: String,
        inode_vertex: Position<NodeId>,
        line: usize,
        changes: Vec<Hash>,
        id: usize,
    )

Source from the content-addressed store, hash-verified

274 /// Cyclic conflicts occur when there are circular dependencies in the
275 /// content graph that prevent linear output.
276 pub fn cyclic(
277 path: String,
278 inode_vertex: Position<NodeId>,
279 line: usize,
280 changes: Vec<Hash>,
281 id: usize,
282 ) -> Self {
283 Self {
284 conflict_type: ConflictType::Cyclic,
285 path,
286 inode_vertex,
287 line,
288 changes,
289 id,
290 }
291 }
292
293 /// Create a new name conflict.
294 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected