Packages
libgit2-glib-1.0
Ggit
Patch
Patch.from_blobs
Patch.from_diff
@ref
get_delta
get_hunk
get_line_stats
get_num_hunks
get_num_lines_in_hunk
to_stream
to_string
unref
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.