mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 15:30:40 +00:00
Rename variables
This commit is contained in:
parent
bc32c89d77
commit
11d6cdd7c1
@ -133,13 +133,13 @@ class EmbeddingsDB {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<void> _clearDeprecatedStores(Directory dir) async {
|
Future<void> _clearDeprecatedStores(Directory dir) async {
|
||||||
final deprecatedStore = Directory(dir.path + "/object-box-store");
|
final deprecatedObjectBox = Directory(dir.path + "/object-box-store");
|
||||||
if (await deprecatedStore.exists()) {
|
if (await deprecatedObjectBox.exists()) {
|
||||||
await deprecatedStore.delete(recursive: true);
|
await deprecatedObjectBox.delete(recursive: true);
|
||||||
}
|
}
|
||||||
final deprecatedDB = File(dir.path + "/default.isar");
|
final deprecatedIsar = File(dir.path + "/default.isar");
|
||||||
if (await deprecatedDB.exists()) {
|
if (await deprecatedIsar.exists()) {
|
||||||
await deprecatedDB.delete();
|
await deprecatedIsar.delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user