MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Rollback

Method Rollback

driver/badger/batch.go:51–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func (w *WriteBatch) Rollback() error {
52 w.lock.Lock()
53 defer w.lock.Unlock()
54
55 if w.wb != nil {
56 w.wb = nil
57 }
58 return nil
59}
60
61func (w *WriteBatch) Close() {
62 w.lock.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected