diff options
author | Canop <cano.petrole@gmail.com> | 2020-11-05 17:09:18 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-11-05 17:09:18 +0100 |
commit | e47ce676b0fe285f782d3a5282b8658b9b3568e5 (patch) | |
tree | 01a4be68305fd1ab85844fe1c5b8d105fb035a3d /src/errors.rs | |
parent | cf6eab4a8ad7f1cd8881a9f4203bb8aaddb20e28 (diff) |
preview now supports opening zero length "files"v1.0.5
(for exemple the ones of /proc)
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs index 0c1ec7c..508f9d8 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -26,6 +26,7 @@ custom_error! {pub ProgramError NetError {source: NetError} = "{}", ImageError {source: ImageError } = "{}", Lfs {details: String} = "Failed to fetch mounts: {}", + ZeroLenFile = "File seems empty", } custom_error! {pub TreeBuildError |