NewSnapshot creates a new snapshot of the database
()
| 185 | |
| 186 | // NewSnapshot creates a new snapshot of the database |
| 187 | func (db *DB) NewSnapshot() (driver.ISnapshot, error) { |
| 188 | return &Snapshot{ |
| 189 | db: db, |
| 190 | }, nil |
| 191 | } |
| 192 | |
| 193 | // Compact is a no-op for this storage driver |
| 194 | func (db *DB) Compact() error { |
nothing calls this directly
no outgoing calls
no test coverage detected