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

Method Len

ring/model.go:27–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25type ByID []InstanceDesc
26
27func (ts ByID) Len() int { return len(ts) }
28func (ts ByID) Swap(i, j int) { ts[i], ts[j] = ts[j], ts[i] }
29func (ts ByID) Less(i, j int) bool { return ts[i].Id < ts[j].Id }
30

Calls

no outgoing calls