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

Function fallback

tui/profiles.go:146–151  ·  view source on GitHub ↗
(v, def string)

Source from the content-addressed store, hash-verified

144}
145
146func fallback(v, def string) string {
147 if v == "" {
148 return def
149 }
150 return v
151}
152
153func maxOne(v int) int {
154 if v < 1 {

Callers 2

renderProfileDetailFunction · 0.85
itemsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected