libgit2

apply

Version:

Mechanisms to apply a patch to the index, the working directory, or both.

Structs

Apply options structure

Macros

Current version for the git_apply_options structure

Enums

Flags controlling the behavior of git_apply

Possible application locations for git_apply

Callbacks

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

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

Functions

Initialize git_apply_options structure

Apply a git_diff to a git_tree, and return the resulting image as an index

Apply a git_diff to the given repository, making changes directly in the working directory, the index, or both