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

Function test_archive_options_default

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

Source from the content-addressed store, hash-verified

898
899 #[test]
900 fn test_archive_options_default() {
901 let options = ArchiveOptions::default();
902
903 assert_eq!(options.format, ArchiveFormat::TarGz);
904 assert!(options.state.is_none());
905 assert!(options.prefix.is_none());
906 assert!(options.include.is_empty());
907 assert!(options.exclude.is_empty());
908 assert!(!options.overwrite);
909 assert_eq!(options.compression_level, 6);
910 }
911
912 #[test]
913 fn test_archive_options_builder() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected