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

Struct BigCache

cachebench/cache_bench_test.go:100–102  ·  view source on GitHub ↗

======================================================================== BigCache ========================================================================

Source from the content-addressed store, hash-verified

98//========================================================================
99
100type BigCache struct {
101 c *bigcache.BigCache
102}
103
104func (b *BigCache) Get(key []byte) ([]byte, error) {
105 return b.c.Get(string(key))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected