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

Function test_archive_entry_with_mode

atomic-repository/src/archive.rs:993–997  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

991
992 #[test]
993 fn test_archive_entry_with_mode() {
994 let entry = ArchiveEntry::file("script.sh", 100).with_mode(0o755);
995
996 assert_eq!(entry.mode, 0o755);
997 }
998
999 #[test]
1000 fn test_archive_entry_display() {

Callers

nothing calls this directly

Calls 1

with_modeMethod · 0.80

Tested by

no test coverage detected