MCPcopy Index your code
hub / github.com/cli/cli / Name

Method Name

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

Name is the name of the project field.

()

Source from the content-addressed store, hash-verified

956
957// Name is the name of the project field.
958func (p ProjectField) Name() string {
959 if p.TypeName == "ProjectV2Field" {
960 return p.Field.Name
961 } else if p.TypeName == "ProjectV2IterationField" {
962 return p.IterationField.Name
963 } else if p.TypeName == "ProjectV2SingleSelectField" {
964 return p.SingleSelectField.Name
965 }
966 return ""
967}
968
969// Type is the typename of the project field.
970func (p ProjectField) Type() string {

Callers 1

ExportDataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected