Close will decRef the underlying snapshot.
()
| 83 | |
| 84 | // Close will decRef the underlying snapshot. |
| 85 | func (w *SnapshotWrapper) Close() (err error) { |
| 86 | return w.decRef() |
| 87 | } |
| 88 | |
| 89 | // Get returns the key from the underlying snapshot. |
| 90 | func (w *SnapshotWrapper) Get(key []byte, readOptions ReadOptions) ( |