Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceFireDB/IceFireDB
/ Commit
Method
Commit
driver/badger/batch.go:36–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
34
}
35
36
func
(w *WriteBatch) Commit() error {
37
w.lock.Lock()
38
defer
w.lock.Unlock()
39
40
var
err error
41
if
w.wb != nil {
42
err = w.wb.Flush()
43
}
44
return
err
45
}
46
47
func
(w *WriteBatch) SyncCommit() error {
48
return
w.Commit()
Callers
1
SyncCommit
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected