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

Method GetCollaborators

internal/database/repo_collaboration.go:122–124  ·  view source on GitHub ↗

GetCollaborators returns the collaborators for a repository

()

Source from the content-addressed store, hash-verified

120
121// GetCollaborators returns the collaborators for a repository
122func (r *Repository) GetCollaborators() ([]*Collaborator, error) {
123 return r.getCollaborators(x)
124}
125
126// ChangeCollaborationAccessMode sets new access mode for the collaboration.
127// The actor's access mode bounds the new mode, so an actor can never grant a

Callers 2

SettingsCollaborationFunction · 0.80
ListCollaboratorsFunction · 0.80

Implementers 2

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

Calls 1

getCollaboratorsMethod · 0.95

Tested by

no test coverage detected