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,
)
| 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 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected