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

Method hasLabel

internal/database/issue.go:232–234  ·  view source on GitHub ↗
(e Engine, labelID int64)

Source from the content-addressed store, hash-verified

230}
231
232func (issue *Issue) hasLabel(e Engine, labelID int64) bool {
233 return hasIssueLabel(e, issue.ID, labelID)
234}
235
236// HasLabel returns true if issue has been labeled by given ID.
237func (issue *Issue) HasLabel(labelID int64) bool {

Callers 1

HasLabelMethod · 0.95

Implementers 1

mailerIssueinternal/database/issue_mail.go

Calls 1

hasIssueLabelFunction · 0.85

Tested by

no test coverage detected