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

Method Has

cache.go:104–114  ·  view source on GitHub ↗

Has checks if the specified key exists in the cache. It acquires a read lock to ensure concurrent safety during the lookup. The method returns true if the key is found in the cache, and false otherwise.

(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