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

Struct DB

driver/ipfs-log/db.go:118–124  ·  view source on GitHub ↗

DB represents the database instance

Source from the content-addressed store, hash-verified

116
117// DB represents the database instance
118type DB struct {
119 ctx context.Context
120 path string
121 db *levelkv.LevelKV
122 iteratorOpts *opt.ReadOptions
123 leveldb *leveldb.DB
124}
125
126// GetLevelDB returns the underlying leveldb instance
127func (d *DB) GetLevelDB() *leveldb.DB {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected