aboutsummaryrefslogtreecommitdiff
path: root/src/zip/error.rs
diff options
context:
space:
mode:
authorIgor Tolmachev <me@igorek.dev>2024-07-12 21:40:08 +0900
committerIgor Tolmachev <me@igorek.dev>2024-07-12 21:40:08 +0900
commitb77106b526930990f51a306fd70cd00856f481e8 (patch)
tree3d4d1b4e08f70ec204fdc986c8e20687044eb90d /src/zip/error.rs
parenteb3dd960e3988f43fb74383505801a0b42a1eeea (diff)
downloadarchivator-b77106b526930990f51a306fd70cd00856f481e8.tar.gz
archivator-b77106b526930990f51a306fd70cd00856f481e8.zip
Add zstd compression and fix bugs
Diffstat (limited to 'src/zip/error.rs')
-rw-r--r--src/zip/error.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/zip/error.rs b/src/zip/error.rs
index 963daad..c77370b 100644
--- a/src/zip/error.rs
+++ b/src/zip/error.rs
@@ -19,7 +19,6 @@ pub enum ZipError {
19 InvalidFileName, 19 InvalidFileName,
20 InvalidFileComment, 20 InvalidFileComment,
21 21
22 NegativeFileOffset,
23 FileNotFound, 22 FileNotFound,
24 CompressedDataIsUnseekable, 23 CompressedDataIsUnseekable,
25} 24}
@@ -58,7 +57,6 @@ impl Display for ZipError {
58 Self::InvalidFileName => write!(f, "Invalid file name"), 57 Self::InvalidFileName => write!(f, "Invalid file name"),
59 Self::InvalidFileComment => write!(f, "Invalid file comment"), 58 Self::InvalidFileComment => write!(f, "Invalid file comment"),
60 59
61 Self::NegativeFileOffset => write!(f, "Negative file offset"),
62 Self::FileNotFound => write!(f, "File not found"), 60 Self::FileNotFound => write!(f, "File not found"),
63 Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"), 61 Self::CompressedDataIsUnseekable => write!(f, "Compressed data is unseekable"),
64 } 62 }