Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
49
func
(t *Tree[E]) Winner() E {
50
return
t.nodes[t.nodes[0].index].value
51
}
52
53
func
(t *Tree[E]) Next() bool {
54
if
len(t.nodes) == 0 {
Callers
2
MergeTokens
Function · 0.80
checkTreeEqual
Function · 0.80
Calls
no outgoing calls
Tested by
1
checkTreeEqual
Function · 0.64