Separate error types for k2v and signature

This commit is contained in:
Alex Auvolat
2022-05-13 15:43:44 +02:00
parent 7a5d329e49
commit ec16d166f9
14 changed files with 203 additions and 13 deletions
+3 -2
View File
@@ -4,11 +4,12 @@ use sha2::Sha256;
use garage_util::data::{sha256sum, Hash};
use crate::s3::error::*;
pub mod error;
pub mod payload;
pub mod streaming;
use error::*;
pub const SHORT_DATE: &str = "%Y%m%d";
pub const LONG_DATETIME: &str = "%Y%m%dT%H%M%SZ";