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

Method OwnerLogin

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

Source from the content-addressed store, hash-verified

293}
294
295func (p Project) OwnerLogin() string {
296 if p.OwnerType() == "User" {
297 return p.Owner.User.Login
298 }
299 return p.Owner.Organization.Login
300}
301
302func (p ProjectMutationQuery) ExportData(_ []string) map[string]interface{} {
303 return map[string]interface{}{

Callers 1

ExportDataMethod · 0.95

Calls 1

OwnerTypeMethod · 0.95

Tested by

no test coverage detected