mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
fix no-analytics
This commit is contained in:
parent
f6d53e03f1
commit
0c1a3d59eb
5 changed files with 23 additions and 71 deletions
|
@ -28,9 +28,7 @@ impl Index {
|
|||
pub fn dump(&self, path: impl AsRef<Path>) -> Result<()> {
|
||||
// acquire write txn make sure any ongoing write is finished before we start.
|
||||
let txn = self.env.write_txn()?;
|
||||
let path = path
|
||||
.as_ref()
|
||||
.join(format!("indexes/{}", self.uuid.to_string()));
|
||||
let path = path.as_ref().join(format!("indexes/{}", self.uuid));
|
||||
|
||||
create_dir_all(&path)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue