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

Method HasIssuesEvent

internal/database/webhook.go:185–188  ·  view source on GitHub ↗

HasIssuesEvent returns true if hook enabled issues event.

()

Source from the content-addressed store, hash-verified

183
184// HasIssuesEvent returns true if hook enabled issues event.
185func (w *Webhook) HasIssuesEvent() bool {
186 return w.SendEverything ||
187 (w.ChooseEvents && w.Issues)
188}
189
190// HasPullRequestEvent returns true if hook enabled pull request event.
191func (w *Webhook) HasPullRequestEvent() bool {

Callers 1

prepareHookTasksFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected