(key, value []byte)
| 20 | } |
| 21 | |
| 22 | func (w *WriteBatch) Put(key, value []byte) { |
| 23 | w.lock.Lock() |
| 24 | defer w.lock.Unlock() |
| 25 | |
| 26 | w.getWriteBatch().Set(key, value) |
| 27 | } |
| 28 | |
| 29 | func (w *WriteBatch) Delete(key []byte) { |
| 30 | w.lock.Lock() |
nothing calls this directly
no test coverage detected