git_apply_to_tree

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

Parameters

out_ libgit2_d.types.git_index**

the postimage of the application

repo libgit2_d.types.git_repository*

the repository to apply

preimage libgit2_d.types.git_tree*

the tree to apply the diff to

diff libgit2_d.diff.git_diff*

the diff to apply

options const(.git_apply_options)*

the options for the apply (or null for defaults)

Meta