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

Function test_archive_format_is_compressed

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

Source from the content-addressed store, hash-verified

874
875 #[test]
876 fn test_archive_format_is_compressed() {
877 assert!(ArchiveFormat::TarGz.is_compressed());
878 assert!(ArchiveFormat::Zip.is_compressed());
879 assert!(!ArchiveFormat::Tar.is_compressed());
880 assert!(!ArchiveFormat::Directory.is_compressed());
881 }
882
883 #[test]
884 fn test_archive_format_is_file() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected