apk_info_zip/compression.rs
1//! Possible types of compression.
2
3/// Represents the type of compression used for a file in a ZIP archive.
4#[derive(Debug, PartialEq)]
5pub enum FileCompressionType {
6 /// The file is stored without compression.
7 Stored,
8
9 /// The file is compressed using the `Deflate` algorithm.
10 Deflated,
11
12 /// The file appears tampered but is actually stored without compression.
13 StoredTampered,
14
15 /// The file appears tampered but is actually compressed with `Deflate`.
16 DeflatedTampered,
17}