()
| 95 | } |
| 96 | |
| 97 | func (db *DB) NewSnapshot() (driver.ISnapshot, error) { |
| 98 | s := &Snapshot{ |
| 99 | db: db.db, |
| 100 | } |
| 101 | return s, nil |
| 102 | } |
| 103 | |
| 104 | // NewStream creates a new stream for bulk operations |
| 105 | func (db *DB) NewStream() *badger.Stream { |
nothing calls this directly
no outgoing calls
no test coverage detected