libgit2

git_diff_stats_deletions

Version:

Get the total number of deletions in a diff

Signature

size_t git_diff_stats_deletions(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 deletions in the diff

Versions