MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / key

Method key

backend/pkg/httpserver/cache.go:37–39  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

35}
36
37func (c operationResponseCache[Key, Response]) key(key []byte) string {
38 return c.operationID + "-" + string(key)
39}
40
41// AttemptCache attempts to cache the given value, associated with the given key,
42// within the underlying RawBytesDataCacher. It marshals both the key and value

Callers 2

AttemptCacheMethod · 0.95
LookupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected