IsPoster returns true if given user by ID is the poster.
(uid int64)
| 226 | |
| 227 | // IsPoster returns true if given user by ID is the poster. |
| 228 | func (issue *Issue) IsPoster(uid int64) bool { |
| 229 | return issue.PosterID == uid |
| 230 | } |
| 231 | |
| 232 | func (issue *Issue) hasLabel(e Engine, labelID int64) bool { |
| 233 | return hasIssueLabel(e, issue.ID, labelID) |
no outgoing calls
no test coverage detected