libgit2_d.sys.merge

Undocumented in source.

Members

Aliases

git_merge_driver_apply_fn
alias git_merge_driver_apply_fn = int function(.git_merge_driver* self, const(char)** path_out, uint* mode_out, libgit2_d.buffer.git_buf* merged_out, const(char)* filter_name, const(.git_merge_driver_source)* src)

Callback to perform the merge.

git_merge_driver_init_fn
alias git_merge_driver_init_fn = int function(.git_merge_driver* self)

Initialize callback on merge driver

git_merge_driver_shutdown_fn
alias git_merge_driver_shutdown_fn = void function(.git_merge_driver* self)

Shutdown callback on merge driver

Functions

git_merge_driver_lookup
.git_merge_driver* git_merge_driver_lookup(const(char)* name)

Look up a merge driver by name

git_merge_driver_register
int git_merge_driver_register(const(char)* name, .git_merge_driver* driver)

Register a merge driver under a given name.

git_merge_driver_source_ancestor
const(libgit2_d.index.git_index_entry)* git_merge_driver_source_ancestor(const(.git_merge_driver_source)* src)

Gets the ancestor of the file to merge.

git_merge_driver_source_file_options
const(libgit2_d.merge.git_merge_file_options)* git_merge_driver_source_file_options(const(.git_merge_driver_source)* src)

Gets the merge file options that the merge was invoked with

git_merge_driver_source_ours
const(libgit2_d.index.git_index_entry)* git_merge_driver_source_ours(const(.git_merge_driver_source)* src)

Gets the ours side of the file to merge.

git_merge_driver_source_repo
libgit2_d.types.git_repository* git_merge_driver_source_repo(const(.git_merge_driver_source)* src)

Get the repository that the source data is coming from.

git_merge_driver_source_theirs
const(libgit2_d.index.git_index_entry)* git_merge_driver_source_theirs(const(.git_merge_driver_source)* src)

Gets the theirs side of the file to merge.

git_merge_driver_unregister
int git_merge_driver_unregister(const(char)* name)

Remove the merge driver with the given name.

Manifest constants

GIT_MERGE_DRIVER_BINARY
enum GIT_MERGE_DRIVER_BINARY;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
GIT_MERGE_DRIVER_TEXT
enum GIT_MERGE_DRIVER_TEXT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
GIT_MERGE_DRIVER_UNION
enum GIT_MERGE_DRIVER_UNION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
GIT_MERGE_DRIVER_VERSION
enum GIT_MERGE_DRIVER_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_merge_driver
struct git_merge_driver

Merge driver structure used to register custom merge drivers.

git_merge_driver_source
struct git_merge_driver_source

A merge driver source represents the file to be merged

Meta