Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
146
func
fallback(v, def string) string {
147
if
v ==
""
{
148
return
def
149
}
150
return
v
151
}
152
153
func
maxOne(v int) int {
154
if
v < 1 {
Callers
2
renderProfileDetail
Function · 0.85
items
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected