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

Function test_file_metadata_without_executable

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

Source from the content-addressed store, hash-verified

833
834 #[test]
835 fn test_file_metadata_without_executable() {
836 let meta = FileMetadata::executable();
837 assert!(meta.is_executable());
838
839 let meta = meta.without_executable();
840 assert!(!meta.is_executable());
841 }
842
843 #[test]
844 fn test_file_metadata_to_byte() {

Callers

nothing calls this directly

Calls 1

without_executableMethod · 0.80

Tested by

no test coverage detected