MCPcopy
hub / github.com/grafana/dskit / Clone

Method Clone

ring/partition_ring_model.go:520–522  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

518}
519
520func (m *PartitionDesc) Clone() PartitionDesc {
521 return *(proto.Clone(m).(*PartitionDesc))
522}
523
524// CleanName returns the PartitionState name without the "Partition" prefix.
525func (s PartitionState) CleanName() string {

Callers

nothing calls this directly

Calls 1

CloneMethod · 0.65

Tested by

no test coverage detected