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

Function test_file_metadata_regular_file

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

Source from the content-addressed store, hash-verified

783
784 #[test]
785 fn test_file_metadata_regular_file() {
786 let meta = FileMetadata::regular_file();
787 assert_eq!(meta.permissions(), 0o644);
788 assert!(!meta.is_dir());
789 assert!(!meta.is_executable());
790 }
791
792 #[test]
793 fn test_file_metadata_executable() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected