Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
187
func
(tb *tableBatch) Delete(key []byte) error {
188
return
tb.batch.Delete(append([]byte(tb.prefix), key...))
189
}
190
191
func
(tb *tableBatch) Write() error {
192
return
tb.batch.Write()
Callers
nothing calls this directly
Calls
1
Delete
Method · 0.65
Tested by
no test coverage detected