git_patch_num_lines_in_hunk

Get the number of lines in a hunk.

@param patch The git_patch object @param hunk_idx Index of the hunk @return Number of lines in hunk or git_error_code.GIT_ENOTFOUND if invalid hunk index

extern (C) nothrow @nogc
int
git_patch_num_lines_in_hunk
(
const(.git_patch)* patch
,
size_t hunk_idx
)

Meta