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

Function make_simple_order

atomic-core/src/output/repo/content.rs:773–780  ·  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

771 /// Create a simple order result with one SCC containing one vertex
772 /// Note: index 0 is DUMMY, so our vertex is at index 1
773 fn make_simple_order() -> OrderResult {
774 OrderResult {
775 sccs: vec![vec![VertexId(1)]],
776 conflict_tree: Default::default(),
777 cyclic_conflicts: 0,
778 forward_edges: Vec::new(),
779 }
780 }
781
782 // ------------------------------------------------------------------------
783 // Basic Output Tests

Calls

no outgoing calls