MCPcopy Index your code
hub / github.com/aptly-dev/aptly / HasPrefix

Method HasPrefix

database/database.go:21–21  ·  view source on GitHub ↗
(prefix []byte)

Source from the content-addressed store, hash-verified

19// PrefixReader provides prefixed operations
20type PrefixReader interface {
21 HasPrefix(prefix []byte) bool
22 ProcessByPrefix(prefix []byte, proc StorageProcessor) error
23 KeysByPrefix(prefix []byte) [][]byte
24 FetchByPrefix(prefix []byte) [][]byte

Callers 15

runGpgvMethod · 0.65
KeysByPrefixMethod · 0.65
FetchByPrefixMethod · 0.65
HasPrefixMethod · 0.65
ProcessByPrefixMethod · 0.65
TestTemporaryDeleteMethod · 0.65
TestHasPrefixMethod · 0.65
TestHasPrefixMethod · 0.65
TestReadWriteStanzaMethod · 0.65
PoolDirectoryMethod · 0.65
DecodeMethod · 0.65
EmptyMethod · 0.65

Implementers 2

storagedatabase/goleveldb/storage.go
EtcDStoragedatabase/etcddb/storage.go

Calls

no outgoing calls

Tested by 8

TestTemporaryDeleteMethod · 0.52
TestHasPrefixMethod · 0.52
TestHasPrefixMethod · 0.52
TestReadWriteStanzaMethod · 0.52
getMethod · 0.52
getMethod · 0.52
putMethod · 0.52
checkGetRequestsEqualMethod · 0.52