git_apply

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

Parameters

repo libgit2_d.types.git_repository*

the repository to apply to

diff libgit2_d.diff.git_diff*

the diff to apply

location .git_apply_location_t

the location to apply (workdir, index or both)

options const(.git_apply_options)*

the options for the apply (or null for defaults)

Meta