libgit2

git_diff_stats_files_changed

Version:

Get the total number of files changed in a diff

Signature

size_t git_diff_stats_files_changed(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 files changed in the diff

Versions