mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
I can index documents without meilisearch
This commit is contained in:
parent
edd8344dc9
commit
8770e07397
13 changed files with 357 additions and 222 deletions
|
@ -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 })
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue