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

Function test_file_metadata_file

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

Source from the content-addressed store, hash-verified

740
741 #[test]
742 fn test_file_metadata_file() {
743 let meta = FileMetadata::file();
744 assert_eq!(meta.permissions, 0o644);
745 assert!(!meta.is_dir);
746 assert!(!meta.is_symlink);
747 assert!(!meta.is_executable());
748 }
749
750 #[test]
751 fn test_file_metadata_executable() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected