MCPcopy Create free account
hub / github.com/CPChain/chain / Delete

Method Delete

database/leveldb.go:187–189  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

185}
186
187func (tb *tableBatch) Delete(key []byte) error {
188 return tb.batch.Delete(append([]byte(tb.prefix), key...))
189}
190
191func (tb *tableBatch) Write() error {
192 return tb.batch.Write()

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected