MCPcopy Create free account
hub / github.com/SamNet-dev/snix / boolStr

Function boolStr

tui/settings.go:173–178  ·  view source on GitHub ↗
(b bool)

Source from the content-addressed store, hash-verified

171}
172
173func boolStr(b bool) string {
174 if b {
175 return okStyle.Render("on")
176 }
177 return mutedStyle.Render("off")
178}
179
180func rotationLabel(r []bypass.Name) string {
181 if len(r) == 0 {

Callers 1

itemsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected