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

Function test_file_metadata_directory

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

Source from the content-addressed store, hash-verified

758
759 #[test]
760 fn test_file_metadata_directory() {
761 let meta = FileMetadata::directory();
762 assert_eq!(meta.permissions, 0o755);
763 assert!(meta.is_dir);
764 assert!(!meta.is_symlink);
765 assert!(!meta.is_executable()); // Directories are not "executable files"
766 }
767
768 #[test]
769 fn test_file_metadata_symlink() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected