Given a patch and a hunk index into the patch, this returns detailed
information about that hunk. Any of the output pointers can be passed
as null if you don't care about that particular piece of information.
@param out_ Output pointer to git_diff_hunk of hunk
@param lines_in_hunk Output count of total lines in this hunk
@param patch Input pointer to patch object
@param hunk_idx Input index of hunk to get information about
@return 0 on success, git_error_code.GIT_ENOTFOUND if hunk_idx out of range, <0 on error
Get the information about a hunk in a patch
Given a patch and a hunk index into the patch, this returns detailed information about that hunk. Any of the output pointers can be passed as null if you don't care about that particular piece of information.
@param out_ Output pointer to git_diff_hunk of hunk @param lines_in_hunk Output count of total lines in this hunk @param patch Input pointer to patch object @param hunk_idx Input index of hunk to get information about @return 0 on success, git_error_code.GIT_ENOTFOUND if hunk_idx out of range, <0 on error