| 9 | var _ driver.IDB = (*DB)(nil) |
| 10 | |
| 11 | type DB struct { |
| 12 | cfg *config.Config |
| 13 | opts badger.Options |
| 14 | db *badger.DB |
| 15 | iteratorOpts badger.IteratorOptions |
| 16 | encryptionKey []byte // For encryption support |
| 17 | } |
| 18 | |
| 19 | func (db *DB) Close() error { |
| 20 | return db.db.Close() |
nothing calls this directly
no outgoing calls
no test coverage detected