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

Method DisplayName

api/queries_issue.go:290–292  ·  view source on GitHub ↗

DisplayName returns a user-friendly name via actorDisplayName.

()

Source from the content-addressed store, hash-verified

288
289// DisplayName returns a user-friendly name via actorDisplayName.
290func (a Author) DisplayName() string {
291 return actorDisplayName("", a.Login, a.Name)
292}
293
294func (author Author) MarshalJSON() ([]byte, error) {
295 if author.ID == "" {

Callers

nothing calls this directly

Calls 1

actorDisplayNameFunction · 0.85

Tested by

no test coverage detected