mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
Rename copy_to_path to copy_to_file
This commit is contained in:
parent
34c67ac389
commit
ec9b52d608
2 changed files with 2 additions and 2 deletions
|
@ -753,7 +753,7 @@ impl IndexScheduler {
|
|||
let index = self.index_mapper.index(&rtxn, name)?;
|
||||
let dst = temp_snapshot_dir.path().join("indexes").join(uuid.to_string());
|
||||
fs::create_dir_all(&dst)?;
|
||||
index.copy_to_path(dst.join("data.mdb"), CompactionOption::Enabled)?;
|
||||
index.copy_to_file(dst.join("data.mdb"), CompactionOption::Enabled)?;
|
||||
}
|
||||
|
||||
drop(rtxn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue