libgit2

git_diff_get_stats

Version:

Accumulate diff statistics for all patches.

Signature

int git_diff_get_stats(git_diff_stats **out, git_diff *diff);

Parameters

In
out

Structure containing the diff statistics.

In
diff

A git_diff generated by one of the above functions.

Returns

int

0 on success; non-zero on error

Versions