Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ Has
Method
Has
database/leveldb.go:65–67 ·
view source on GitHub ↗
(key []byte)
Source
from the content-addressed store, hash-verified
63
}
64
65
func
(db *LDBDatabase) Has(key []byte) (bool, error) {
66
return
db.db.Has(key, nil)
67
}
68
69
// Get returns the given key if it's present.
70
func
(db *LDBDatabase) Get(key []byte) ([]byte, error) {
Callers
nothing calls this directly
Calls
1
Has
Method · 0.65
Tested by
no test coverage detected