From 64654ef7c34665bac3310f4b2a2a8b3bec62498a Mon Sep 17 00:00:00 2001 From: ad hoc Date: Wed, 25 May 2022 08:46:06 +0200 Subject: [PATCH] rename batch_handler to handler --- .../src/tasks/{batch_handlers => handlers}/dump_handler.rs | 0 .../src/tasks/{batch_handlers => handlers}/empty_handler.rs | 0 .../{batch_handlers => handlers}/index_resolver_handler.rs | 0 .../src/tasks/{batch_handlers => handlers}/mod.rs | 0 .../tasks/{batch_handlers => handlers}/snapshot_handler.rs | 0 meilisearch-lib/src/tasks/mod.rs | 6 +++--- 6 files changed, 3 insertions(+), 3 deletions(-) rename meilisearch-lib/src/tasks/{batch_handlers => handlers}/dump_handler.rs (100%) rename meilisearch-lib/src/tasks/{batch_handlers => handlers}/empty_handler.rs (100%) rename meilisearch-lib/src/tasks/{batch_handlers => handlers}/index_resolver_handler.rs (100%) rename meilisearch-lib/src/tasks/{batch_handlers => handlers}/mod.rs (100%) rename meilisearch-lib/src/tasks/{batch_handlers => handlers}/snapshot_handler.rs (100%) diff --git a/meilisearch-lib/src/tasks/batch_handlers/dump_handler.rs b/meilisearch-lib/src/tasks/handlers/dump_handler.rs similarity index 100% rename from meilisearch-lib/src/tasks/batch_handlers/dump_handler.rs rename to meilisearch-lib/src/tasks/handlers/dump_handler.rs diff --git a/meilisearch-lib/src/tasks/batch_handlers/empty_handler.rs b/meilisearch-lib/src/tasks/handlers/empty_handler.rs similarity index 100% rename from meilisearch-lib/src/tasks/batch_handlers/empty_handler.rs rename to meilisearch-lib/src/tasks/handlers/empty_handler.rs diff --git a/meilisearch-lib/src/tasks/batch_handlers/index_resolver_handler.rs b/meilisearch-lib/src/tasks/handlers/index_resolver_handler.rs similarity index 100% rename from meilisearch-lib/src/tasks/batch_handlers/index_resolver_handler.rs rename to meilisearch-lib/src/tasks/handlers/index_resolver_handler.rs diff --git a/meilisearch-lib/src/tasks/batch_handlers/mod.rs b/meilisearch-lib/src/tasks/handlers/mod.rs similarity index 100% rename from meilisearch-lib/src/tasks/batch_handlers/mod.rs rename to meilisearch-lib/src/tasks/handlers/mod.rs diff --git a/meilisearch-lib/src/tasks/batch_handlers/snapshot_handler.rs b/meilisearch-lib/src/tasks/handlers/snapshot_handler.rs similarity index 100% rename from meilisearch-lib/src/tasks/batch_handlers/snapshot_handler.rs rename to meilisearch-lib/src/tasks/handlers/snapshot_handler.rs diff --git a/meilisearch-lib/src/tasks/mod.rs b/meilisearch-lib/src/tasks/mod.rs index 4c51ec207..a8cb74aed 100644 --- a/meilisearch-lib/src/tasks/mod.rs +++ b/meilisearch-lib/src/tasks/mod.rs @@ -1,7 +1,7 @@ use async_trait::async_trait; -pub use batch_handlers::empty_handler::EmptyBatchHandler; -pub use batch_handlers::snapshot_handler::SnapshotHandler; +pub use handlers::empty_handler::EmptyBatchHandler; +pub use handlers::snapshot_handler::SnapshotHandler; pub use scheduler::Scheduler; pub use task_store::TaskFilter; @@ -14,8 +14,8 @@ use batch::Batch; use error::Result; pub mod batch; -mod batch_handlers; pub mod error; +mod handlers; mod scheduler; pub mod task; mod task_store;