| 14 | ) |
| 15 | |
| 16 | type LDBDatabase struct { |
| 17 | fn string // filename for reporting |
| 18 | db *leveldb.DB // LevelDB instance |
| 19 | |
| 20 | log *log.Logger // Contextual logger tracking the database path |
| 21 | } |
| 22 | |
| 23 | // NewLDBDatabase returns a LevelDB wrapped object. |
| 24 | func NewLDBDatabase(file string, cache int, handles int) (*LDBDatabase, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected