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

Method DisplayName

api/queries_repo.go:1188–1190  ·  view source on GitHub ↗

DisplayName returns a user-friendly name via actorDisplayName.

()

Source from the content-addressed store, hash-verified

1186
1187// DisplayName returns a user-friendly name via actorDisplayName.
1188func (u AssignableUser) DisplayName() string {
1189 return actorDisplayName(userTypeName, u.login, u.name)
1190}
1191
1192func (u AssignableUser) ID() string {
1193 return u.id

Callers 1

DisplayNamesMethod · 0.95

Calls 1

actorDisplayNameFunction · 0.85

Tested by

no test coverage detected