libgit2_d.apply

Undocumented in source.

Members

Aliases

git_apply_delta_cb
alias git_apply_delta_cb = int function(const(libgit2_d.diff.git_diff_delta)* delta, void* payload)

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

git_apply_hunk_cb
alias git_apply_hunk_cb = int function(const(libgit2_d.diff.git_diff_hunk)* hunk, void* payload)

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

Enums

git_apply_flags_t
enum git_apply_flags_t

Flags controlling the behavior of git_apply

git_apply_location_t
enum git_apply_location_t

Possible application locations for git_apply

Functions

GIT_APPLY_OPTIONS_INIT
GIT_APPLY_OPTIONS_INIT()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_apply
int git_apply(libgit2_d.types.git_repository* repo, libgit2_d.diff.git_diff* diff, .git_apply_location_t location, const(.git_apply_options)* options)

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

git_apply_options_init
int git_apply_options_init(.git_apply_options* opts, uint version_)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_apply_to_tree
int git_apply_to_tree(libgit2_d.types.git_index** out_, libgit2_d.types.git_repository* repo, libgit2_d.types.git_tree* preimage, libgit2_d.diff.git_diff* diff, const(.git_apply_options)* options)

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

Manifest constants

GIT_APPLY_OPTIONS_VERSION
enum GIT_APPLY_OPTIONS_VERSION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

git_apply_options
struct git_apply_options

Apply options structure

Meta