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

Function test_archive_entry_directory

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

Source from the content-addressed store, hash-verified

981
982 #[test]
983 fn test_archive_entry_directory() {
984 let entry = ArchiveEntry::directory("src/");
985
986 assert_eq!(entry.path, "src/");
987 assert!(entry.is_directory);
988 assert_eq!(entry.size, 0);
989 assert_eq!(entry.mode, 0o755);
990 }
991
992 #[test]
993 fn test_archive_entry_with_mode() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected