DB represents the database instance
| 116 | |
| 117 | // DB represents the database instance |
| 118 | type 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 |
| 127 | func (d *DB) GetLevelDB() *leveldb.DB { |
nothing calls this directly
no outgoing calls
no test coverage detected