git2.diff

Undocumented in source.

Members

Aliases

git_diff_data_cb
alias git_diff_data_cb = int function(const(git_diff_delta)* delta, const(git_diff_range)* range, char line_origin, const(char)* content, size_t content_len, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_file_cb
alias git_diff_file_cb = int function(const(git_diff_delta)* delta, float progress, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_hunk_cb
alias git_diff_hunk_cb = int function(const(git_diff_delta)* delta, const(git_diff_range)* range, const(char)* header, size_t header_len, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_notify_cb
alias git_diff_notify_cb = int function(const(git_diff_list)* diff_so_far, const(git_diff_delta)* delta_to_add, const(char)* matched_pathspec, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

git_delta_t
enum git_delta_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_find_t
enum git_diff_find_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_flag_t
enum git_diff_flag_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_line_t
enum git_diff_line_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_option_t
enum git_diff_option_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

git_diff_blob_to_buffer
int git_diff_blob_to_buffer(const(git_blob)* old_blob, const(char)* old_as_path, const(char)* buffer, size_t buffer_len, const(char)* buffer_as_path, const(git_diff_options)* options, git_diff_file_cb file_cb, git_diff_hunk_cb hunk_cb, git_diff_data_cb data_cb, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_blobs
int git_diff_blobs(const(git_blob)* old_blob, const(char)* old_as_path, const(git_blob)* new_blob, const(char)* new_as_path, const(git_diff_options)* options, git_diff_file_cb file_cb, git_diff_hunk_cb hunk_cb, git_diff_data_cb line_cb, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_find_similar
int git_diff_find_similar(git_diff_list* diff, git_diff_find_options* options)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_foreach
int git_diff_foreach(git_diff_list* diff, git_diff_file_cb file_cb, git_diff_hunk_cb hunk_cb, git_diff_data_cb line_cb, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_get_patch
int git_diff_get_patch(git_diff_patch** patch_out, const(git_diff_delta)** delta_out, git_diff_list* diff, size_t idx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_index_to_workdir
int git_diff_index_to_workdir(git_diff_list** diff, git_repository* repo, git_index* index, const(git_diff_options)* opts)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_list_free
void git_diff_list_free(git_diff_list* diff)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_merge
int git_diff_merge(git_diff_list* onto, const(git_diff_list)* from)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_num_deltas
size_t git_diff_num_deltas(git_diff_list* diff)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_num_deltas_of_type
size_t git_diff_num_deltas_of_type(git_diff_list* diff, git_delta_t type)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_delta
const(git_diff_delta)* git_diff_patch_delta(git_diff_patch* patch)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_free
void git_diff_patch_free(git_diff_patch* patch)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_from_blob_and_buffer
int git_diff_patch_from_blob_and_buffer(git_diff_patch** out_, const(git_blob)* old_blob, const(char)* old_as_path, const(char)* buffer, size_t buffer_len, const(char)* buffer_as_path, const(git_diff_options)* opts)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_from_blobs
int git_diff_patch_from_blobs(git_diff_patch** out_, const(git_blob)* old_blob, const(char)* old_as_path, const(git_blob)* new_blob, const(char)* new_as_path, const(git_diff_options)* opts)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_get_hunk
int git_diff_patch_get_hunk(const(git_diff_range)** range, const(char)** header, size_t* header_len, size_t* lines_in_hunk, git_diff_patch* patch, size_t hunk_idx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_get_line_in_hunk
int git_diff_patch_get_line_in_hunk(char* line_origin, const(char)** content, size_t* content_len, int* old_lineno, int* new_lineno, git_diff_patch* patch, size_t hunk_idx, size_t line_of_hunk)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_line_stats
int git_diff_patch_line_stats(size_t* total_context, size_t* total_additions, size_t* total_deletions, const(git_diff_patch)* patch)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_num_hunks
size_t git_diff_patch_num_hunks(git_diff_patch* patch)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_num_lines_in_hunk
int git_diff_patch_num_lines_in_hunk(git_diff_patch* patch, size_t hunk_idx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_print
int git_diff_patch_print(git_diff_patch* patch, git_diff_data_cb print_cb, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch_to_str
int git_diff_patch_to_str(char** string, git_diff_patch* patch)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_print_compact
int git_diff_print_compact(git_diff_list* diff, git_diff_data_cb print_cb, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_print_patch
int git_diff_print_patch(git_diff_list* diff, git_diff_data_cb print_cb, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_print_raw
int git_diff_print_raw(git_diff_list* diff, git_diff_data_cb print_cb, void* payload)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_status_char
char git_diff_status_char(git_delta_t status)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_tree_to_index
int git_diff_tree_to_index(git_diff_list** diff, git_repository* repo, git_tree* old_tree, git_index* index, const(git_diff_options)* opts)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_tree_to_tree
int git_diff_tree_to_tree(git_diff_list** diff, git_repository* repo, git_tree* old_tree, git_tree* new_tree, const(git_diff_options)* opts)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_tree_to_workdir
int git_diff_tree_to_workdir(git_diff_list** diff, git_repository* repo, git_tree* old_tree, const(git_diff_options)* opts)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

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

Mixins

__anonymous
mixin _ExportEnumMembers!git_diff_option_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
__anonymous
mixin _ExportEnumMembers!git_diff_flag_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
__anonymous
mixin _ExportEnumMembers!git_delta_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
__anonymous
mixin _ExportEnumMembers!git_diff_line_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
__anonymous
mixin _ExportEnumMembers!git_diff_find_t
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

git_diff_delta
struct git_diff_delta
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_file
struct git_diff_file
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_find_options
struct git_diff_find_options
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_list
struct git_diff_list
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_options
struct git_diff_options
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_patch
struct git_diff_patch
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_range
struct git_diff_range
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_diff_similarity_metric
struct git_diff_similarity_metric
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Variables

GIT_DIFF_FIND_OPTIONS_INIT
enum git_diff_find_options GIT_DIFF_FIND_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_DIFF_OPTIONS_INIT
enum git_diff_options GIT_DIFF_OPTIONS_INIT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta