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

Method OwnerLogin

pkg/cmd/project/shared/queries/queries.go:329–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327}
328
329func (p ProjectMutationQuery) OwnerLogin() string {
330 if p.OwnerType() == "User" {
331 return p.Owner.User.Login
332 }
333 return p.Owner.Organization.Login
334}
335
336type Projects struct {
337 Nodes []Project

Callers 1

ExportDataMethod · 0.95

Calls 1

OwnerTypeMethod · 0.95

Tested by

no test coverage detected