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

Method ExportData

pkg/cmd/project/shared/queries/queries.go:537–546  ·  view source on GitHub ↗
(_ []string)

Source from the content-addressed store, hash-verified

535}
536
537func (pr PullRequest) ExportData(_ []string) map[string]any {
538 return map[string]any{
539 "type": "PullRequest",
540 "body": pr.Body,
541 "title": pr.Title,
542 "number": pr.Number,
543 "repository": pr.Repository.NameWithOwner,
544 "url": pr.URL,
545 }
546}
547
548type Issue struct {
549 Body string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected