(userID int64)
| 43 | } |
| 44 | |
| 45 | func (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. |
| 50 | func (r *Repository) AddCollaborator(u *User) error { |
no test coverage detected