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

Method GetAssignees

internal/database/repo.go:537–539  ·  view source on GitHub ↗

GetAssignees returns all users that have read access and can be assigned to issues of the repository,

()

Source from the content-addressed store, hash-verified

535// GetAssignees returns all users that have read access and can be assigned to issues
536// of the repository,
537func (r *Repository) GetAssignees() (_ []*User, err error) {
538 return r.getAssignees(x)
539}
540
541// GetAssigneeByID returns the user that has write access of repository by given ID.
542func (r *Repository) GetAssigneeByID(userID int64) (*User, error) {

Callers 2

issuesFunction · 0.80

Implementers 2

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

Calls 1

getAssigneesMethod · 0.95

Tested by

no test coverage detected