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

Function test_new_vertex

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

Source from the content-addressed store, hash-verified

657 }
658
659 fn test_new_vertex() -> Insertion<Hash> {
660 Insertion {
661 predecessors: vec![],
662 successors: vec![],
663 flag: EdgeFlags::BLOCK,
664 start: ChangePosition::new(0),
665 end: ChangePosition::new(10),
666 inode: test_hash_position(0),
667 }
668 }
669
670 fn test_edge_map() -> EdgeUpdate<Hash> {
671 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