MCPcopy Create free account
hub / github.com/anthdm/ggcache / Get

Method Get

cache.go:52–69  ·  view source on GitHub ↗

Get retrieves the value associated with the specified key from the cache. It acquires a read lock to ensure concurrent safety during retrieval. If the key is not found, an error is returned indicating the absence of the key. The retrieved value and a nil error are returned if the key is present in t

(key []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected