(e Engine, repoID int64)
| 96 | } |
| 97 | |
| 98 | func (t *Team) hasRepository(e Engine, repoID int64) bool { |
| 99 | return hasTeamRepo(e, t.OrgID, t.ID, repoID) |
| 100 | } |
| 101 | |
| 102 | // HasRepository returns true if given repository belong to team. |
| 103 | func (t *Team) HasRepository(repoID int64) bool { |
no test coverage detected