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

Function test_file_metadata_with_executable

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

Source from the content-addressed store, hash-verified

824
825 #[test]
826 fn test_file_metadata_with_executable() {
827 let meta = FileMetadata::regular_file();
828 assert!(!meta.is_executable());
829
830 let meta = meta.with_executable();
831 assert!(meta.is_executable());
832 }
833
834 #[test]
835 fn test_file_metadata_without_executable() {

Callers

nothing calls this directly

Calls 1

with_executableMethod · 0.80

Tested by

no test coverage detected