svn_txdelta_run

Function svn_txdelta_run 

Source
pub unsafe extern "C" fn svn_txdelta_run(
    source: *mut svn_stream_t,
    target: *mut svn_stream_t,
    handler: svn_txdelta_window_handler_t,
    handler_baton: *mut c_void,
    checksum_kind: svn_checksum_kind_t,
    checksum: *mut *mut svn_checksum_t,
    cancel_func: svn_cancel_func_t,
    cancel_baton: *mut c_void,
    result_pool: *mut apr_pool_t,
    scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

This function will generate delta windows that turn @a source into @a target, and pushing these windows into the @a handler window handler callback (passing @a handler_baton to each invocation).

If @a checksum is not NULL, then a checksum (of kind @a checksum_kind) will be computed for the target stream, and placed into *checksum.

If @a cancel_func is not NULL, then it should refer to a cancellation function (along with @a cancel_baton).

Results (the checksum) will be allocated from @a result_pool, and all temporary allocations will be performed in @a scratch_pool.

Note: this function replaces the combination of svn_txdelta() and svn_txdelta_send_txstream().

@since New in 1.6.