libgit2

git_diff_hunk

Version:

Structure describing a hunk of a diff.

Signature

typedef struct git_diff_hunk { int old_start int old_lines int new_start int new_lines size_t header_len char[128] header };

Members

int
old_start
int
old_lines

Starting line number in old_file

int
new_start

Number of lines in old_file

int
new_lines

Starting line number in new_file

size_t
header_len

Number of lines in new_file

char[128]
header

Number of bytes in header text

Parameter To

Versions