mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-25 07:41:00 +00:00
I can index documents without meilisearch
This commit is contained in:
committed by
Clément Renault
parent
edd8344dc9
commit
8770e07397
@ -40,7 +40,7 @@ pub struct FileStore {
|
||||
#[cfg(not(test))]
|
||||
impl FileStore {
|
||||
pub fn new(path: impl AsRef<Path>) -> Result<FileStore> {
|
||||
let path = path.as_ref().join(UPDATE_FILES_PATH);
|
||||
let path = path.as_ref().to_path_buf();
|
||||
std::fs::create_dir_all(&path)?;
|
||||
Ok(FileStore { path })
|
||||
}
|
||||
|
Reference in New Issue
Block a user