Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ IsOrganization
Method
IsOrganization
pkg/cmd/repo/create/http.go:251–253 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
249
}
250
251
func
(r *ownerResponse) IsOrganization() bool {
252
return
r.Type ==
"Organization"
253
}
254
255
func
resolveOwner(client *api.Client, hostname, orgName string) (*ownerResponse, error) {
256
var
response ownerResponse
Callers
1
repoCreate
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected