MCPcopy
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
123func EntityName(orgOption string, repoI ghrepo.Interface) string {
124 if orgOption != "" {
125 return orgOption
126 }
127 return ghrepo.FullName(repoI)
128}

Callers 2

listRunFunction · 0.92
NoRulesetsFoundErrorFunction · 0.85

Calls 1

FullNameFunction · 0.92

Tested by

no test coverage detected