| 108 | } |
| 109 | |
| 110 | type DB struct { |
| 111 | path string |
| 112 | |
| 113 | cfg *config.LevelDBConfig |
| 114 | |
| 115 | db *leveldb.DB |
| 116 | |
| 117 | opts *opt.Options |
| 118 | |
| 119 | iteratorOpts *opt.ReadOptions |
| 120 | |
| 121 | syncOpts *opt.WriteOptions |
| 122 | |
| 123 | cache *ristretto.Cache |
| 124 | |
| 125 | filter filter.Filter |
| 126 | options Options |
| 127 | } |
| 128 | |
| 129 | func (s *DB) GetStorageEngine() any { |
| 130 | return s.db |
nothing calls this directly
no outgoing calls
no test coverage detected