MCPcopy Index your code
hub / github.com/coder/coder / getCacheKey

Function getCacheKey

coderd/cachecompress/compress.go:36–41  ·  view source on GitHub ↗
(encoding string, r *http.Request)

Source from the content-addressed store, hash-verified

34}
35
36func getCacheKey(encoding string, r *http.Request) cacheKey {
37 return cacheKey{
38 encoding: encoding,
39 urlPath: r.URL.Path,
40 }
41}
42
43type ref struct {
44 key cacheKey

Callers 1

getRefMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected