aboutsummaryrefslogtreecommitdiff
path: root/src/garage
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-07-07 13:59:22 +0200
committerAlex Auvolat <alex@adnab.me>2020-07-07 13:59:22 +0200
commitbec26a13129d8215d5ff97ad0cf587f6572f67ac (patch)
tree8a183bb7f1c4878c2ccc8a53ff799318647540e5 /src/garage
parentf0918b377e428f4d7a6afa341cb92bc49dfcac1b (diff)
downloadgarage-bec26a13129d8215d5ff97ad0cf587f6572f67ac.tar.gz
garage-bec26a13129d8215d5ff97ad0cf587f6572f67ac.zip
Rename garage_core to garage_model
Diffstat (limited to 'src/garage')
-rw-r--r--src/garage/Cargo.toml2
-rw-r--r--src/garage/admin_rpc.rs6
-rw-r--r--src/garage/repair.rs8
-rw-r--r--src/garage/server.rs2
4 files changed, 9 insertions, 9 deletions
diff --git a/src/garage/Cargo.toml b/src/garage/Cargo.toml
index 08b55c32..2daa0f75 100644
--- a/src/garage/Cargo.toml
+++ b/src/garage/Cargo.toml
@@ -14,7 +14,7 @@ path = "main.rs"
garage_util = { path = "../util" }
garage_rpc = { path = "../rpc" }
garage_table = { path = "../table" }
-garage_core = { path = "../core" }
+garage_model = { path = "../model" }
garage_api = { path = "../api" }
bytes = "0.4"
diff --git a/src/garage/admin_rpc.rs b/src/garage/admin_rpc.rs
index aeaf2682..1dd118ac 100644
--- a/src/garage/admin_rpc.rs
+++ b/src/garage/admin_rpc.rs
@@ -10,9 +10,9 @@ use garage_table::*;
use garage_rpc::rpc_client::*;
use garage_rpc::rpc_server::*;
-use garage_core::bucket_table::*;
-use garage_core::garage::Garage;
-use garage_core::key_table::*;
+use garage_model::bucket_table::*;
+use garage_model::garage::Garage;
+use garage_model::key_table::*;
use crate::repair::Repair;
use crate::*;
diff --git a/src/garage/repair.rs b/src/garage/repair.rs
index afea61de..297ae9cd 100644
--- a/src/garage/repair.rs
+++ b/src/garage/repair.rs
@@ -2,10 +2,10 @@ use std::sync::Arc;
use tokio::sync::watch;
-use garage_core::block_ref_table::*;
-use garage_core::garage::Garage;
-use garage_core::object_table::*;
-use garage_core::version_table::*;
+use garage_model::block_ref_table::*;
+use garage_model::garage::Garage;
+use garage_model::object_table::*;
+use garage_model::version_table::*;
use garage_table::*;
use garage_util::error::Error;
diff --git a/src/garage/server.rs b/src/garage/server.rs
index 2b618c1a..6caea5eb 100644
--- a/src/garage/server.rs
+++ b/src/garage/server.rs
@@ -9,7 +9,7 @@ use garage_util::config::*;
use garage_util::error::Error;
use garage_api::api_server;
-use garage_core::garage::Garage;
+use garage_model::garage::Garage;
use garage_rpc::rpc_server::RpcServer;
use crate::admin_rpc::*;