MCPcopy
hub / github.com/dgraph-io/dgraph / viLocalCache

Struct viLocalCache

posting/lists.go:83–85  ·  view source on GitHub ↗

struct to implement LocalCache interface from vector-indexer acts as wrapper for dgraph *LocalCache

Source from the content-addressed store, hash-verified

81// struct to implement LocalCache interface from vector-indexer
82// acts as wrapper for dgraph *LocalCache
83type viLocalCache struct {
84 delegate *LocalCache
85}
86
87func (vc *viLocalCache) Find(prefix []byte, filter func([]byte) bool) (uint64, error) {
88 return vc.delegate.Find(prefix, filter)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected