MCPcopy
hub / github.com/grafana/tempo / key

Function key

tempodb/backend/cache/cache.go:171–173  ·  view source on GitHub ↗
(keypath backend.KeyPath, name string)

Source from the content-addressed store, hash-verified

169}
170
171func key(keypath backend.KeyPath, name string) string {
172 return strings.Join(keypath, ":") + ":" + name
173}
174
175// cacheFor evaluates the cacheInfo and returns the appropriate cache.
176func (r *readerWriter) cacheFor(cacheInfo *backend.CacheInfo) cache.Cache {

Callers 2

ReadMethod · 0.85
WriteMethod · 0.85

Calls 1

JoinMethod · 0.65

Tested by

no test coverage detected