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

Method Rollback

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

Rollback discards all operations in the write batch. It returns an error if the rollback fails.

()

Source from the content-addressed store, hash-verified

32// Rollback discards all operations in the write batch.
33// It returns an error if the rollback fails.
34func (w *WriteBatch) Rollback() error {
35 return nil
36}
37
38// Close releases any resources held by the write batch.
39func (w *WriteBatch) Close() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected