Other: Wipe vault properly on factory reset

Deleting the file isn't enough because it's still held in memory
and is written back to disk on the next write (SetLastVersion during
bridge teardown).
This commit is contained in:
James Houlahan
2022-11-29 09:59:30 +01:00
parent f176174fca
commit 9f64e8a6fa
5 changed files with 53 additions and 7 deletions

View File

@ -26,6 +26,7 @@ import (
type Locator interface {
ProvideSettingsPath() (string, error)
ProvideLogsPath() (string, error)
ProvideGluonPath() (string, error)
GetLicenseFilePath() string
GetDependencyLicensesLink() string
Clear() error