libgit2

git_patch_num_hunks

Version:

Get the number of hunks in a patch

Signature

size_t git_patch_num_hunks(const git_patch *patch);

Parameters

Returns

size_t

Versions