Rename variables
This commit is contained in:
parent
bc32c89d77
commit
11d6cdd7c1
1 changed files with 6 additions and 6 deletions
|
@ -133,13 +133,13 @@ class EmbeddingsDB {
|
|||
}
|
||||
|
||||
Future<void> _clearDeprecatedStores(Directory dir) async {
|
||||
final deprecatedStore = Directory(dir.path + "/object-box-store");
|
||||
if (await deprecatedStore.exists()) {
|
||||
await deprecatedStore.delete(recursive: true);
|
||||
final deprecatedObjectBox = Directory(dir.path + "/object-box-store");
|
||||
if (await deprecatedObjectBox.exists()) {
|
||||
await deprecatedObjectBox.delete(recursive: true);
|
||||
}
|
||||
final deprecatedDB = File(dir.path + "/default.isar");
|
||||
if (await deprecatedDB.exists()) {
|
||||
await deprecatedDB.delete();
|
||||
final deprecatedIsar = File(dir.path + "/default.isar");
|
||||
if (await deprecatedIsar.exists()) {
|
||||
await deprecatedIsar.delete();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue