Merge pull request #9 from Pacalini/rmrf

local migrate: delete recursively
This commit is contained in:
nyne
2024-10-31 23:37:17 +08:00
committed by GitHub

View File

@@ -166,7 +166,7 @@ class LocalManager with ChangeNotifier {
} catch (e) {
return e.toString();
}
await Directory(path).deleteIgnoreError();
await Directory(path).deleteIgnoreError(recursive:true);
path = newPath;
return null;
}