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

Function ObjectFileName

tempodb/backend/raw.go:347–349  ·  view source on GitHub ↗

ObjectFileName returns a unique identifier for an object in object storage given its name and keypath

(keypath KeyPath, name string)

Source from the content-addressed store, hash-verified

345
346// ObjectFileName returns a unique identifier for an object in object storage given its name and keypath
347func ObjectFileName(keypath KeyPath, name string) string {
348 return path.Join(path.Join(keypath...), name)
349}
350
351// KeyPathWithPrefix returns a keypath with a prefix
352func KeyPathWithPrefix(keypath KeyPath, prefix string) KeyPath {

Callers 15

WriteMethod · 0.92
AppendMethod · 0.92
DeleteMethod · 0.92
ReadMethod · 0.92
ReadRangeMethod · 0.92
ReadVersionedMethod · 0.92
WriteMethod · 0.92
AppendMethod · 0.92
DeleteMethod · 0.92
ReadMethod · 0.92
ReadRangeMethod · 0.92
WriteVersionedMethod · 0.92

Calls 1

JoinMethod · 0.65

Tested by

no test coverage detected