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

Method DisplayName

api/queries_repo.go:1180–1182  ·  view source on GitHub ↗

DisplayName returns a user-friendly name via actorDisplayName.

()

Source from the content-addressed store, hash-verified

1178
1179// DisplayName returns a user-friendly name via actorDisplayName.
1180func (u AssignableUser) DisplayName() string {
1181 return actorDisplayName(userTypeName, u.login, u.name)
1182}
1183
1184func (u AssignableUser) ID() string {
1185 return u.id

Callers 1

DisplayNamesMethod · 0.95

Calls 1

actorDisplayNameFunction · 0.85

Tested by

no test coverage detected