pub unsafe extern "C" fn svn_diff_output_binary(
output_stream: *mut svn_stream_t,
original: *mut svn_stream_t,
latest: *mut svn_stream_t,
cancel_func: svn_cancel_func_t,
cancel_baton: *mut c_void,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Creates a git-like binary diff hunk describing the differences between @a original and @a latest. It does this by either producing either the literal content of both versions in a compressed format, or by describing one way transforms.
Either @a original or @a latest may be NULL to describe that the version didn’t exist.
Writes the output to @a output_stream.
If not @c NULL, call @a cancel_func with @a cancel_baton once or multiple times while processing larger diffs.
@since New in 1.9.