git_diff_print

Iterate over a diff generating formatted text output.

Returning a non-zero value from the callbacks will terminate the iteration and return the non-zero value to the caller.

@param diff A git_diff generated by one of the above functions. @param format A git_diff_format_t value to pick the text format. @param print_cb Callback to make per line of diff text. @param payload Reference pointer that will be passed to your callback. @return 0 on success, non-zero callback return value, or error code

extern (C) nothrow @nogc
int
git_diff_print

Meta