libgit2

git_diff_num_deltas

Version:

Query how many diff records are there in a diff.

Signature

size_t git_diff_num_deltas(const git_diff *diff);

Parameters

In
diff

A git_diff generated by one of the above functions

Returns

size_t

Count of number of deltas in the list

Versions