From 5d3d32ded672b67471d9d7c85ebbe691129cc51c Mon Sep 17 00:00:00 2001 From: Igor Tolmachev Date: Mon, 1 Jul 2024 19:12:40 +0900 Subject: Add compression support (lzma and xz are broken) --- src/zip/error.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/zip/error.rs') diff --git a/src/zip/error.rs b/src/zip/error.rs index 3acbf8c..5659f93 100644 --- a/src/zip/error.rs +++ b/src/zip/error.rs @@ -21,6 +21,7 @@ pub enum ZipError { NegativeFileOffset, FileNotFound, + CompressionDataIsUnseekable, } impl From for ArchiveError { @@ -59,6 +60,7 @@ impl Display for ZipError { Self::NegativeFileOffset => write!(f, "Negative file offset"), Self::FileNotFound => write!(f, "File not found"), + Self::CompressionDataIsUnseekable => write!(f, "Compression data is unseekable"), } } } -- cgit v1.2.3