git_patch_get_line_in_hunk

Get data about a line in a hunk of a patch.

Given a patch, a hunk index, and a line index in the hunk, this will return a lot of details about that line. If you pass a hunk index larger than the number of hunks or a line index larger than the number of lines in the hunk, this will return -1.

@param out_ The git_diff_line data for this line @param patch The patch to look in @param hunk_idx The index of the hunk @param line_of_hunk The index of the line in the hunk @return 0 on success, <0 on failure

extern (C) nothrow @nogc
int
git_patch_get_line_in_hunk

Meta