HasTeamRepo returns true if given team has access to the repository of the organization.
(orgID, teamID, repoID int64)
| 676 | |
| 677 | // HasTeamRepo returns true if given team has access to the repository of the organization. |
| 678 | func HasTeamRepo(orgID, teamID, repoID int64) bool { |
| 679 | return hasTeamRepo(x, orgID, teamID, repoID) |
| 680 | } |
| 681 | |
| 682 | func addTeamRepo(e Engine, orgID, teamID, repoID int64) error { |
| 683 | _, err := e.InsertOne(&TeamRepo{ |
nothing calls this directly
no test coverage detected