git_apply_hunk_cb

When applying a patch, callback that will be made per hunk.

When the callback: - returns < 0, the apply process will be aborted. - returns > 0, the hunk will not be applied, but the apply process continues - returns 0, the hunk is applied, and the apply process continues.

extern (C) nothrow @nogc public
alias git_apply_hunk_cb = int function

Return Value

0 if the hunk is applied, < 0 if the apply process will be aborted or > 0 if the hunk will not be applied.

Meta