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

Function test_file_metadata_new

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

Source from the content-addressed store, hash-verified

775
776 #[test]
777 fn test_file_metadata_new() {
778 let meta = FileMetadata::new(0o644, false);
779 assert_eq!(meta.permissions(), 0o644);
780 assert!(!meta.is_dir());
781 assert!(!meta.is_executable());
782 }
783
784 #[test]
785 fn test_file_metadata_regular_file() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected