git_apply_options

Apply options structure

Initialize with GIT_APPLY_OPTIONS_INIT. Alternatively, you can use git_apply_options_init.

@see git_apply_to_tree, git_apply

Members

Variables

delta_cb
.git_apply_delta_cb delta_cb;

When applying a patch, callback that will be made per delta (file).

flags
uint flags;

Bitmask of git_apply_flags_t

hunk_cb
.git_apply_hunk_cb hunk_cb;

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

payload
void* payload;

Payload passed to both delta_cb & hunk_cb.

version_
uint version_;

The version

Meta