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

Function make_simple_order

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

804 /// Create a simple order result with one SCC containing one vertex
805 /// Note: index 0 is DUMMY, so our vertex is at index 1
806 fn make_simple_order() -> OrderResult {
807 OrderResult {
808 sccs: vec![vec![VertexId(1)]],
809 conflict_tree: Default::default(),
810 cyclic_conflicts: 0,
811 forward_edges: Vec::new(),
812 }
813 }
814
815 // ------------------------------------------------------------------------
816 // Basic Output Tests

Calls

no outgoing calls