Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ visibilityLabel
Function
visibilityLabel
pkg/cmd/search/repos/repos.go:193–200 ·
view source on GitHub ↗
(repo search.Repository)
Source
from the content-addressed store, hash-verified
191
}
192
193
func
visibilityLabel(repo search.Repository) string {
194
if
repo.Visibility !=
""
{
195
return
repo.Visibility
196
}
else
if
repo.IsPrivate {
197
return
"private"
198
}
199
return
"public"
200
}
Callers
1
displayResults
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected