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

Method Delete

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

Source from the content-addressed store, hash-verified

164}
165
166func (dt *table) Delete(key []byte) error {
167 return dt.db.Delete(append([]byte(dt.prefix), key...))
168}
169
170func (dt *table) Close() {
171 // Do nothing; don't close the underlying DB.

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected