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

Method objectFileName

tempodb/backend/local/local.go:302–304  ·  view source on GitHub ↗
(keypath backend.KeyPath, name string)

Source from the content-addressed store, hash-verified

300}
301
302func (rw *Backend) objectFileName(keypath backend.KeyPath, name string) string {
303 return filepath.Join(rw.rootPath(keypath), name)
304}
305
306func (rw *Backend) metaFileName(blockID uuid.UUID, tenantID string) string {
307 return filepath.Join(rw.rootPath(backend.KeyPathForBlock(blockID, tenantID)), backend.MetaName)

Callers 4

WriteMethod · 0.95
AppendMethod · 0.95
ReadMethod · 0.95
ReadRangeMethod · 0.95

Calls 2

rootPathMethod · 0.95
JoinMethod · 0.65

Tested by

no test coverage detected