Exemple #1
0
func (db *Store) Destroy() error {
	// log.Printf("WARN: destroy path %s", db.dbpath)
	return rocksdb.DestroyDb(db.dbpath, db.options)
}
Exemple #2
0
func DestroyStore(dbpath string, options *rocksdb.Options) error {
	return rocksdb.DestroyDb(dbpath, options)
}