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

Function test_new_vertex

atomic-core/src/change/change.rs:882–891  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

880 }
881
882 fn test_new_vertex() -> Insertion<Option<Hash>> {
883 Insertion {
884 predecessors: vec![],
885 successors: vec![],
886 flag: EdgeFlags::BLOCK,
887 start: ChangePosition::new(0),
888 end: ChangePosition::new(10),
889 inode: test_hash_position(0),
890 }
891 }
892
893 // HashedChange Tests
894

Callers 2

test_change_add_hunkFunction · 0.70

Calls 1

test_hash_positionFunction · 0.70

Tested by

no test coverage detected