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

Method SyncDelete

driver/ipfs/db.go:212–218  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

210}
211
212func (db *DB) SyncDelete(key []byte) error {
213 err := db.db.Delete(key, db.syncOpts)
214 if err == nil {
215 db.cache.Del(key)
216 }
217 return err
218}
219
220func (db *DB) NewWriteBatch() driver.IWriteBatch {
221 wb := &WriteBatch{

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.45

Tested by

no test coverage detected