libgit2

git_diff_stats_insertions

Version:

Get the total number of insertions in a diff

Signature

size_t git_diff_stats_insertions(const git_diff_stats *stats);

Parameters

In
stats

A git_diff_stats generated by one of the above functions.

Returns

size_t

total number of insertions in the diff

Versions