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

Struct FreeCache

cachebench/cache_bench_test.go:177–179  ·  view source on GitHub ↗

======================================================================== FreeCache ========================================================================

Source from the content-addressed store, hash-verified

175//========================================================================
176
177type FreeCache struct {
178 c *freecache.Cache
179}
180
181func (f *FreeCache) Get(key []byte) ([]byte, error) {
182 return f.c.Get(key)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected