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

Method History

internal/database/webhook.go:149–151  ·  view source on GitHub ↗

History returns history of webhook by given conditions.

(page int)

Source from the content-addressed store, hash-verified

147
148// History returns history of webhook by given conditions.
149func (w *Webhook) History(page int) ([]*HookTask, error) {
150 return HookTasks(w.ID, page)
151}
152
153// UpdateEvent handles conversion from HookEvent to Events.
154func (w *Webhook) UpdateEvent() error {

Callers 1

loadWebhookFunction · 0.95

Calls 1

HookTasksFunction · 0.85

Tested by

no test coverage detected