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

Function test_change_kind_deleted

atomic-core/src/record/detect.rs:957–964  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

955
956 #[test]
957 fn test_change_kind_deleted() {
958 let kind = FileChangeKind::Deleted;
959
960 assert!(kind.is_deleted());
961 assert!(!kind.is_added());
962 assert!(kind.has_content_change());
963 assert!(kind.diff_ops().is_none());
964 }
965
966 #[test]
967 fn test_change_kind_moved_without_content_change() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected