Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
166
func
(dt *table) Delete(key []byte) error {
167
return
dt.db.Delete(append([]byte(dt.prefix), key...))
168
}
169
170
func
(dt *table) Close() {
171
// Do nothing; don't close the underlying DB.
Callers
nothing calls this directly
Calls
1
Delete
Method · 0.65
Tested by
no test coverage detected