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

Function test_archive_format_is_file

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

Source from the content-addressed store, hash-verified

882
883 #[test]
884 fn test_archive_format_is_file() {
885 assert!(ArchiveFormat::TarGz.is_file());
886 assert!(ArchiveFormat::Tar.is_file());
887 assert!(ArchiveFormat::Zip.is_file());
888 assert!(!ArchiveFormat::Directory.is_file());
889 }
890
891 #[test]
892 fn test_archive_format_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected