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

Function test_pending_edge_is_deletion

atomic-core/src/apply/workspace.rs:779–789  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

777
778 #[test]
779 fn test_pending_edge_is_deletion() {
780 let edge = PendingEdge::new(
781 Position::ROOT,
782 Position::ROOT,
783 EdgeFlags::BLOCK | EdgeFlags::DELETED,
784 );
785 assert!(edge.is_deletion());
786
787 let edge = PendingEdge::new(Position::ROOT, Position::ROOT, EdgeFlags::BLOCK);
788 assert!(!edge.is_deletion());
789 }
790
791 #[test]
792 fn test_pending_edge_is_folder() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected