| 97 | } |
| 98 | |
| 99 | type DB struct { |
| 100 | path string |
| 101 | |
| 102 | cfg *config.LevelDBConfig |
| 103 | |
| 104 | db *leveldb.DB |
| 105 | |
| 106 | opts *opt.Options |
| 107 | |
| 108 | iteratorOpts *opt.ReadOptions |
| 109 | |
| 110 | syncOpts *opt.WriteOptions |
| 111 | |
| 112 | cache *ristretto.Cache |
| 113 | |
| 114 | filter filter.Filter |
| 115 | |
| 116 | remoteShell *shell.Shell |
| 117 | } |
| 118 | |
| 119 | func (s *DB) GetStorageEngine() any { |
| 120 | return s.db |
nothing calls this directly
no outgoing calls
no test coverage detected