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

Method Has

database/interface.go:25–25  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

23 Deleter
24 Get(key []byte) ([]byte, error)
25 Has(key []byte) (bool, error)
26 Close()
27 NewBatch() Batch
28}

Callers 8

testDBFuncsFunction · 0.65
TestIpfsDatabase_HasFunction · 0.65
TestIpfsDatabase_DiscardFunction · 0.65
HasMethod · 0.65
HasMethod · 0.65
wsHandshakeValidatorFunction · 0.65
PeersWithoutBlockMethod · 0.65
PeersWithoutTxMethod · 0.65

Calls

no outgoing calls

Tested by 3

testDBFuncsFunction · 0.52
TestIpfsDatabase_HasFunction · 0.52
TestIpfsDatabase_DiscardFunction · 0.52