MCPcopy Create free account
hub / github.com/cli/cli / IsOrganization

Method IsOrganization

pkg/cmd/repo/create/http.go:258–260  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256}
257
258func (r *ownerResponse) IsOrganization() bool {
259 return r.Type == "Organization"
260}
261
262func resolveOwner(client *api.Client, hostname, orgName string) (*ownerResponse, error) {
263 var response ownerResponse

Callers 1

repoCreateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected