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

Function test_new_vertex

atomic-core/src/change/graph_op.rs:875–884  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

873 }
874
875 fn test_new_vertex() -> Insertion<Hash> {
876 Insertion {
877 predecessors: vec![],
878 successors: vec![],
879 flag: EdgeFlags::BLOCK,
880 start: ChangePosition::new(0),
881 end: ChangePosition::new(10),
882 inode: test_hash_position(0),
883 }
884 }
885
886 fn test_edge_map() -> EdgeUpdate<Hash> {
887 EdgeUpdate {

Callers 15

test_file_addFunction · 0.70
test_file_moveFunction · 0.70
test_editFunction · 0.70
test_replacementFunction · 0.70
test_add_rootFunction · 0.70
test_hunk_displayFunction · 0.70
test_edit_displayFunction · 0.70
test_atom_count_editFunction · 0.70

Calls 1

test_hash_positionFunction · 0.70

Tested by

no test coverage detected