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

Function test_change_kind_metadata_only

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

Source from the content-addressed store, hash-verified

992
993 #[test]
994 fn test_change_kind_metadata_only() {
995 let kind = FileChangeKind::MetadataOnly {
996 old_metadata: FileMetadata::file(),
997 new_metadata: FileMetadata::executable(),
998 };
999
1000 assert!(kind.is_metadata_only());
1001 assert!(!kind.is_modified());
1002 assert!(!kind.has_content_change());
1003 assert!(kind.diff_ops().is_none());
1004 }
1005
1006 // FileChange Tests
1007

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected