MCPcopy 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
251func (r *ownerResponse) IsOrganization() bool {
252 return r.Type == "Organization"
253}
254
255func resolveOwner(client *api.Client, hostname, orgName string) (*ownerResponse, error) {
256 var response ownerResponse

Callers 1

repoCreateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected