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

Method SyncCommit

driver/ipfs-log/write_batch.go:28–30  ·  view source on GitHub ↗

SyncCommit writes the batch's operations to the database and ensures they are written to stable storage. It returns an error if the commit fails.

()

Source from the content-addressed store, hash-verified

26// SyncCommit writes the batch's operations to the database and ensures they are written to stable storage.
27// It returns an error if the commit fails.
28func (w *WriteBatch) SyncCommit() error {
29 return nil
30}
31
32// Rollback discards all operations in the write batch.
33// It returns an error if the rollback fails.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected