libgit2

git_diff_binary_cb

Version:

When iterating over a diff, callback that will be made for binary content within the diff.

Signature

typedef int git_diff_binary_cb(const git_diff_delta *delta, const git_diff_binary *binary, void *payload);

Parameters

In
delta

the delta

In
binary

the binary content

void *
In
payload

the user-specified callback payload

Returns

int

0 or an error code

Parameter To

Versions