MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / Get

Method Get

posting/lists.go:389–391  ·  view source on GitHub ↗

Get retrieves the cached version of the list associated with the given key.

(key []byte)

Source from the content-addressed store, hash-verified

387
388// Get retrieves the cached version of the list associated with the given key.
389func (lc *LocalCache) Get(key []byte) (*List, error) {
390 return lc.getInternal(key, true, false)
391}
392
393func (lc *LocalCache) GetUids(key []byte) (*List, error) {
394 return lc.getInternal(key, true, true)

Callers 1

FindMethod · 0.95

Calls 1

getInternalMethod · 0.95

Tested by

no test coverage detected