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

Method IsCollaborator

internal/database/repo_collaboration.go:45–47  ·  view source on GitHub ↗
(userID int64)

Source from the content-addressed store, hash-verified

43}
44
45func (r *Repository) IsCollaborator(userID int64) bool {
46 return IsCollaborator(r.ID, userID)
47}
48
49// AddCollaborator adds new collaboration to a repository with default access mode.
50func (r *Repository) AddCollaborator(u *User) error {

Callers 1

IsCollaboratorFunction · 0.80

Implementers 2

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

Calls 1

IsCollaboratorFunction · 0.70

Tested by

no test coverage detected