git_patch_num_hunks

Get the number of hunks in a patch

extern (C) nothrow @nogc public
size_t
git_patch_num_hunks
(
const(.git_patch)* patch
)

Parameters

patch const(.git_patch)*

The patch in which to get the number of hunks.

Return Value

Type: size_t

The number of hunks of the patch.

Meta