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

Function make_simple_order

atomic-core/src/output/repo/content.rs:829–836  ·  view source on GitHub ↗

Create a simple order result with one SCC containing one vertex Note: index 0 is DUMMY, so our vertex is at index 1

()

Source from the content-addressed store, hash-verified

827 /// Create a simple order result with one SCC containing one vertex
828 /// Note: index 0 is DUMMY, so our vertex is at index 1
829 fn make_simple_order() -> OrderResult {
830 OrderResult {
831 sccs: vec![vec![VertexId(1)]],
832 conflict_tree: Default::default(),
833 cyclic_conflicts: 0,
834 forward_edges: Vec::new(),
835 }
836 }
837
838 #[derive(Clone, Copy)]
839 enum DependencyFault {

Calls

no outgoing calls