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

Method Rollback

driver/ipfs-synckv/write_batch.go:107–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 return w.commit(false)
106}
107
108func (w *WriteBatch) SyncCommit() error {
109 return w.commit(true)
110}
111
112func (w *WriteBatch) Rollback() error {
113 w.wbatch.Reset()
114 w.ipfsOps = nil
115 w.err = nil

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.45

Tested by

no test coverage detected