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

Method HasIssueCommentEvent

internal/database/webhook.go:197–200  ·  view source on GitHub ↗

HasIssueCommentEvent returns true if hook enabled issue comment event.

()

Source from the content-addressed store, hash-verified

195
196// HasIssueCommentEvent returns true if hook enabled issue comment event.
197func (w *Webhook) HasIssueCommentEvent() bool {
198 return w.SendEverything ||
199 (w.ChooseEvents && w.IssueComment)
200}
201
202// HasReleaseEvent returns true if hook enabled release event.
203func (w *Webhook) HasReleaseEvent() bool {

Callers 1

prepareHookTasksFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected