MCPcopy Create free account
hub / github.com/gogs/gogs / getAssignees

Method getAssignees

internal/database/repo.go:531–533  ·  view source on GitHub ↗

getAssignees returns a list of users who can be assigned to issues in this repository.

(e Engine)

Source from the content-addressed store, hash-verified

529
530// getAssignees returns a list of users who can be assigned to issues in this repository.
531func (r *Repository) getAssignees(e Engine) (_ []*User, err error) {
532 return r.getUsersWithAccesMode(e, AccessModeRead)
533}
534
535// GetAssignees returns all users that have read access and can be assigned to issues
536// of the repository,

Callers 2

GetAssigneesMethod · 0.95
newIssueUsersFunction · 0.80

Implementers 2

Repositoryinternal/database/repo.go
mailerRepointernal/database/issue_mail.go

Calls 1

getUsersWithAccesModeMethod · 0.95

Tested by

no test coverage detected