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

Method Name

pkg/cmd/project/shared/queries/queries.go:991–1000  ·  view source on GitHub ↗

Name is the name of the project field.

()

Source from the content-addressed store, hash-verified

989
990// Name is the name of the project field.
991func (p ProjectField) Name() string {
992 if p.TypeName == "ProjectV2Field" {
993 return p.Field.Name
994 } else if p.TypeName == "ProjectV2IterationField" {
995 return p.IterationField.Name
996 } else if p.TypeName == "ProjectV2SingleSelectField" {
997 return p.SingleSelectField.Name
998 }
999 return ""
1000}
1001
1002// Type is the typename of the project field.
1003func (p ProjectField) Type() string {

Callers 2

resolveItemEditNamesFunction · 0.95
ExportDataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected