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

Function RootPath

tempodb/backend/raw.go:371–373  ·  view source on GitHub ↗

RootPath returns the root path for a block given a block id and tenantid

(blockID uuid.UUID, tenantID, prefix string)

Source from the content-addressed store, hash-verified

369
370// RootPath returns the root path for a block given a block id and tenantid
371func RootPath(blockID uuid.UUID, tenantID, prefix string) string {
372 return path.Join(prefix, tenantID, blockID.String())
373}

Callers 4

ClearBlockMethod · 0.92
ClearBlockMethod · 0.92
ClearBlockMethod · 0.92
TestRootPathFunction · 0.85

Calls 2

JoinMethod · 0.65
StringMethod · 0.45

Tested by 1

TestRootPathFunction · 0.68