Skip to main content

with_kept_fields

Function with_kept_fields 

Source
fn with_kept_fields(
    edit: EditHookOption,
    desired: &Webhook,
    actual: &Hook,
) -> EditHookOption
Expand description

Forgejo resets the events, the branch filter and the authorization header on every edit, so the edit repeats the ones it does not change.