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

Method SyncCommit

driver/oss/write_batch.go:32–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (w *WriteBatch) SyncCommit() error {
33 if w.err != nil {
34 return w.err
35 }
36 return w.db.db.Write(w.wbatch, w.db.syncOpts)
37}
38
39func (w *WriteBatch) Rollback() error {
40 w.wbatch.Reset()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected