MCPcopy
hub / github.com/cli/cli / Title

Method Title

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

Title is the title of the project item.

()

Source from the content-addressed store, hash-verified

574
575// Title is the title of the project item.
576func (p ProjectItem) Title() string {
577 switch p.Content.TypeName {
578 case "Issue":
579 return p.Content.Issue.Title
580 case "PullRequest":
581 return p.Content.PullRequest.Title
582 case "DraftIssue":
583 return p.Content.DraftIssue.Title
584 }
585 return ""
586}
587
588// Body is the body of the project item.
589func (p ProjectItem) Body() string {

Callers 2

DetailedItemMethod · 0.95
ExportDataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected