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

Method Get

cachebench/cache_bench_test.go:181–183  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

179}
180
181func (f *FreeCache) Get(key []byte) ([]byte, error) {
182 return f.c.Get(key)
183}
184
185func (f *FreeCache) Set(key, value []byte) error {
186 return f.c.Set(key, value, 0)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected