From bec26a13129d8215d5ff97ad0cf587f6572f67ac Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 7 Jul 2020 13:59:22 +0200 Subject: Rename garage_core to garage_model --- src/garage/Cargo.toml | 2 +- src/garage/admin_rpc.rs | 6 +++--- src/garage/repair.rs | 8 ++++---- src/garage/server.rs | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/garage') 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::*; -- cgit v1.2.3