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

Function test_file_metadata_executable

atomic-core/src/output/traits.rs:751–757  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

749
750 #[test]
751 fn test_file_metadata_executable() {
752 let meta = FileMetadata::executable();
753 assert_eq!(meta.permissions, 0o755);
754 assert!(!meta.is_dir);
755 assert!(!meta.is_symlink);
756 assert!(meta.is_executable());
757 }
758
759 #[test]
760 fn test_file_metadata_directory() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected