mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	perform dump method
This commit is contained in:
		| @@ -3,7 +3,7 @@ pub mod index_store; | ||||
| pub mod meta_store; | ||||
|  | ||||
| use std::convert::{TryFrom, TryInto}; | ||||
| use std::path::Path; | ||||
| use std::path::{Path, PathBuf}; | ||||
| use std::sync::Arc; | ||||
|  | ||||
| use error::{IndexResolverError, Result}; | ||||
| @@ -351,10 +351,14 @@ where | ||||
|  | ||||
|                 Ok(TaskResult::Other) | ||||
|             } | ||||
|             TaskContent::Dump { path: _ } => Ok(TaskResult::Other), | ||||
|             TaskContent::Dump { path } => self.perform_dump(path).await, | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     async fn perform_dump(&self, path: &PathBuf) -> Result<TaskResult> { | ||||
|         todo!() | ||||
|     } | ||||
|  | ||||
|     async fn process_job(&self, job: Job) { | ||||
|         match job { | ||||
|             Job::Dump { ret, path } => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user