aboutsummaryrefslogtreecommitdiff
path: root/src/data.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-09 23:45:07 +0200
committerAlex Auvolat <alex@adnab.me>2020-04-09 23:45:07 +0200
commitd66c0d6833ddbeb61e34ee222dde92a5363bda1f (patch)
tree0e2da23fb32a6bf62a205fdf5f90d986ac14ad0c /src/data.rs
parenta3eb88e6013e70238e7ddd66b4644f138b3d1b93 (diff)
downloadgarage-d66c0d6833ddbeb61e34ee222dde92a5363bda1f.tar.gz
garage-d66c0d6833ddbeb61e34ee222dde92a5363bda1f.zip
Why is it not Sync??
Diffstat (limited to 'src/data.rs')
-rw-r--r--src/data.rs14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/data.rs b/src/data.rs
index 91b21b02..a538f98a 100644
--- a/src/data.rs
+++ b/src/data.rs
@@ -136,16 +136,4 @@ pub struct SplitpointMeta {
}
pub use crate::object_table::*;
-
-#[derive(Clone, Debug, Serialize, Deserialize)]
-pub struct BlockMeta {
- pub version_uuid: UUID,
- pub offset: u64,
- pub hash: Hash,
-}
-
-#[derive(Debug, Serialize, Deserialize)]
-pub struct BlockReverseMeta {
- pub versions: Vec<UUID>,
- pub deleted_versions: Vec<UUID>,
-}
+pub use crate::version_table::*;