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

Function test_pending_edge_is_folder

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

Source from the content-addressed store, hash-verified

790
791 #[test]
792 fn test_pending_edge_is_folder() {
793 let edge = PendingEdge::new(Position::ROOT, Position::ROOT, EdgeFlags::FOLDER);
794 assert!(edge.is_folder());
795
796 let edge = PendingEdge::new(Position::ROOT, Position::ROOT, EdgeFlags::BLOCK);
797 assert!(!edge.is_folder());
798 }
799
800 #[test]
801 fn test_pending_edge_is_parent() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected