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

Method DisplayName

api/queries_issue.go:321–323  ·  view source on GitHub ↗

DisplayName returns a user-friendly name via actorDisplayName.

()

Source from the content-addressed store, hash-verified

319
320// DisplayName returns a user-friendly name via actorDisplayName.
321func (a CommentAuthor) DisplayName() string {
322 return actorDisplayName("", a.Login, "")
323}
324
325// IssueCreate creates an issue in a GitHub repository
326func IssueCreate(client *Client, repo *Repository, params map[string]any) (*Issue, error) {

Callers

nothing calls this directly

Calls 1

actorDisplayNameFunction · 0.85

Tested by

no test coverage detected