libgit2

git_diff_line

Version:

Signature

typedef struct git_diff_line { char origin int old_lineno int new_lineno int num_lines size_t content_len git_off_t content_offset const char *content };

Members

char
origin
int
old_lineno

A git_diff_line_t value

int
new_lineno

Line number in old file or -1 for added line

int
num_lines

Line number in new file or -1 for deleted line

size_t
content_len

Number of newline characters in content

content_offset

Number of bytes of data

const char *
content

Offset in the original file to the content

Parameter To

Versions