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

Method SyncDelete

driver/ipfs-log/db.go:168–170  ·  view source on GitHub ↗

SyncDelete is a synchronous version of Delete

(key []byte)

Source from the content-addressed store, hash-verified

166
167// SyncDelete is a synchronous version of Delete
168func (db *DB) SyncDelete(key []byte) error {
169 return db.Delete(key)
170}
171
172// NewWriteBatch creates a new write batch for batch operations
173func (db *DB) NewWriteBatch() driver.IWriteBatch {

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.95

Tested by

no test coverage detected