RecoverFile recovers and opens a DB with missing or corrupted manifest files for the given path. It will ignore any manifest files, valid or not. The DB must already exist or it will returns an error. Also, Recover will ignore ErrorIfMissing and ErrorIfExist options.
RecoverFile uses standard file-system backed storage implementation as desribed in the leveldb/storage package.
The returned DB instance is goroutine-safe. The DB must be closed after use, by calling Close method.
RecoverFile is referenced in 8 repositoriesgithub.com/PearsonEducation/Thalassa-Conduit github.com/google/skia-buildbot
- 1 reference in datahopper_internal/go/datahopper_internal/main.go
- 1 reference in go/androidbuild/androidbuild.go