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

Function test_new_vertex

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

Source from the content-addressed store, hash-verified

901 }
902
903 fn test_new_vertex() -> Insertion<Option<Hash>> {
904 Insertion {
905 predecessors: vec![],
906 successors: vec![],
907 flag: EdgeFlags::BLOCK,
908 start: ChangePosition::new(0),
909 end: ChangePosition::new(10),
910 inode: test_hash_position(0),
911 }
912 }
913
914 // HashedChange Tests
915

Callers 2

test_change_add_hunkFunction · 0.70

Calls 1

test_hash_positionFunction · 0.70

Tested by

no test coverage detected