diff options
author | boasting-squirrel <boasting.squirrel@gmail.com> | 2019-03-13 17:08:49 +0000 |
---|---|---|
committer | boasting-squirrel <boasting.squirrel@gmail.com> | 2019-03-13 17:08:49 +0000 |
commit | 2723babb9b8ddef120dfeb9b671e18f1a46dfb96 (patch) | |
tree | f05d7c3ce09d6e2a99c1d2e18c3ee5fbd61db959 /src/errors.rs | |
parent | Added some docs comments to errors.rs (diff) | |
download | miniserve-2723babb9b8ddef120dfeb9b671e18f1a46dfb96.tar.gz miniserve-2723babb9b8ddef120dfeb9b671e18f1a46dfb96.zip |
Build tar in buffer instead of in tempfile
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/errors.rs b/src/errors.rs index 3fcda8f..8cfedff 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -5,12 +5,6 @@ use yansi::{Color, Paint}; /// Kinds of errors which might happen during the generation of an archive #[derive(Debug, Fail)] pub enum CompressionErrorKind { - #[fail(display = "Could not open file {}", path)] - OpenFileError { path: String }, - #[fail(display = "Could not create temporary file")] - CreateTemporaryFileError, - #[fail(display = "Could not create file {}", path)] - CreateFileError { path: String }, #[fail(display = "Invalid path: directory name terminates in \"..\"")] InvalidDirectoryName, #[fail(display = "Invalid path: directory name contains invalid UTF-8 characters")] |