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

Method Winner

loser/loser.go:49–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (t *Tree[E]) Winner() E {
50 return t.nodes[t.nodes[0].index].value
51}
52
53func (t *Tree[E]) Next() bool {
54 if len(t.nodes) == 0 {

Callers 2

MergeTokensFunction · 0.80
checkTreeEqualFunction · 0.80

Calls

no outgoing calls

Tested by 1

checkTreeEqualFunction · 0.64