MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / DB

Struct DB

driver/badger/db.go:11–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9var _ driver.IDB = (*DB)(nil)
10
11type 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
19func (db *DB) Close() error {
20 return db.db.Close()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected