libgit2

git_diff_get_stats

Version:

Accumlate diff statistics for all patches.

Signature

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

Parameters

In
out

Structure containg 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