register dump handler

This commit is contained in:
ad hoc 2022-05-19 14:51:04 +02:00
parent 60a8249de6
commit 414d0907ce
No known key found for this signature in database
GPG key ID: 4F00A782990CC643
4 changed files with 25 additions and 20 deletions

View file

@ -1,6 +1,6 @@
use async_trait::async_trait;
pub use batch_handlers::empty_handler::EmptyBatchHandler;
pub use batch_handlers::{dump_handler::DumpHandler, empty_handler::EmptyBatchHandler};
pub use scheduler::Scheduler;
pub use task_store::TaskFilter;

View file

@ -1,5 +1,3 @@
use std::path::PathBuf;
use meilisearch_error::ResponseError;
use milli::update::{DocumentAdditionResult, IndexDocumentsMethod};
use serde::{Deserialize, Serialize};
@ -142,10 +140,7 @@ pub enum TaskContent {
IndexUpdate {
primary_key: Option<String>,
},
Dump {
#[cfg_attr(test, proptest(value = "PathBuf::from(\".\")"))]
path: PathBuf,
},
Dump,
}
#[cfg(test)]