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

Function test_file_metadata_equality

atomic-core/src/record/item.rs:909–916  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

907
908 #[test]
909 fn test_file_metadata_equality() {
910 let meta1 = FileMetadata::new(0o755, true);
911 let meta2 = FileMetadata::new(0o755, true);
912 let meta3 = FileMetadata::new(0o755, false);
913
914 assert_eq!(meta1, meta2);
915 assert_ne!(meta1, meta3);
916 }
917
918 #[test]
919 fn test_file_metadata_serialization() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected