Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ EntityName
Function
EntityName
pkg/cmd/ruleset/shared/shared.go:123–128 ·
view source on GitHub ↗
(orgOption string, repoI ghrepo.Interface)
Source
from the content-addressed store, hash-verified
121
}
122
123
func
EntityName(orgOption string, repoI ghrepo.Interface) string {
124
if
orgOption !=
""
{
125
return
orgOption
126
}
127
return
ghrepo.FullName(repoI)
128
}
Callers
2
listRun
Function · 0.92
NoRulesetsFoundError
Function · 0.85
Calls
1
FullName
Function · 0.92
Tested by
no test coverage detected