deimos.git2.patch

Undocumented in source.

Members

Functions

git_patch_free
void git_patch_free(git_patch* patch)
Undocumented in source.
git_patch_from_blob_and_buffer
int git_patch_from_blob_and_buffer(git_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.
git_patch_from_blobs
int git_patch_from_blobs(git_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.
git_patch_from_diff
int git_patch_from_diff(git_patch** out_, git_diff* diff, size_t idx)
Undocumented in source.
git_patch_get_delta
const(git_diff_delta)* git_patch_get_delta(git_patch* patch)
Undocumented in source.
git_patch_get_hunk
int git_patch_get_hunk(const(git_diff_hunk)** out_, size_t* lines_in_hunk, git_patch* patch, size_t hunk_idx)
Undocumented in source.
git_patch_get_line_in_hunk
int git_patch_get_line_in_hunk(const(git_diff_line)** out_, git_patch* patch, size_t hunk_idx, size_t line_of_hunk)
Undocumented in source.
git_patch_line_stats
int git_patch_line_stats(size_t* total_context, size_t* total_additions, size_t* total_deletions, const(git_patch)* patch)
Undocumented in source.
git_patch_num_hunks
size_t git_patch_num_hunks(git_patch* patch)
Undocumented in source.
git_patch_num_lines_in_hunk
int git_patch_num_lines_in_hunk(git_patch* patch, size_t hunk_idx)
Undocumented in source.
git_patch_print
int git_patch_print(git_patch* patch, git_diff_line_cb print_cb, void* payload)
Undocumented in source.
git_patch_size
size_t git_patch_size(git_patch* patch, int include_context, int include_hunk_headers, int include_file_headers)
Undocumented in source.
git_patch_to_str
int git_patch_to_str(char** string, git_patch* patch)
Undocumented in source.

Structs

git_patch
struct git_patch
Undocumented in source.

Meta