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;