get_hunk


Description:

public DiffHunk? get_hunk (size_t idx) throws Error

Get the idx'th hunk in the patch.

Parameters:

this

a Patch

idx

the hunk index.

Returns:

a new DiffHunk or null on error.