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

Method Commit

driver/ipfs/write_batch.go:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected