git_diff_num_deltas

Query how many diff records are there in a diff.

extern (C) nothrow @nogc
size_t
git_diff_num_deltas
(
const(.git_diff)* diff
)

Parameters

diff const(.git_diff)*

A git_diff generated by one of the above functions

Return Value

Type: size_t

Count of number of deltas in the list

Meta