Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceFireDB/IceFireDB
/ Rollback
Method
Rollback
driver/hybriddb/write_batch.go:28–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
}
27
28
func
(w *WriteBatch) Rollback() error {
29
w.wbatch.Reset()
30
return
nil
31
}
32
33
func
(w *WriteBatch) Close() {
34
w.wbatch.Reset()
Callers
2
TestWriteBatch_Rollback
Function · 0.95
TestWriteBatch_Close
Function · 0.95
Calls
1
Reset
Method · 0.45
Tested by
2
TestWriteBatch_Rollback
Function · 0.76
TestWriteBatch_Close
Function · 0.76