MCPcopy Create free account
hub / github.com/aptly-dev/aptly / ProcessByPrefix

Method ProcessByPrefix

database/database.go:22–22  ·  view source on GitHub ↗
(prefix []byte, proc StorageProcessor)

Source from the content-addressed store, hash-verified

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
25}

Callers 10

TestByPrefixMethod · 0.65
TestByPrefixMethod · 0.65
searchMethod · 0.65
ForEachMethod · 0.65
searchMethod · 0.65
ForEachMethod · 0.65
WriteToMethod · 0.65
searchMethod · 0.65
ForEachMethod · 0.65
ForEachMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 2

TestByPrefixMethod · 0.52
TestByPrefixMethod · 0.52