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

Method DisplayName

api/queries_issue.go:318–320  ·  view source on GitHub ↗

DisplayName returns a user-friendly name via actorDisplayName.

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

actorDisplayNameFunction · 0.85

Tested by

no test coverage detected