Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/commitdev/zero
/ AvailableLabels
Function
AvailableLabels
internal/registry/registry.go:55–63 ·
view source on GitHub ↗
(registry Registry)
Source
from the content-addressed store, hash-verified
53
}
54
55
func
AvailableLabels(registry Registry) []string {
56
labels := make([]string, len(registry))
57
i := 0
58
for
_, stack :=
range
registry {
59
labels[i] = stack.Name
60
i++
61
}
62
return
labels
63
}
Callers
2
chooseStack
Function · 0.92
TestAvailableLabels
Function · 0.92
Calls
no outgoing calls
Tested by
1
TestAvailableLabels
Function · 0.74