svn_delta_default_editor

Function svn_delta_default_editor 

Source
pub unsafe extern "C" fn svn_delta_default_editor(
    pool: *mut apr_pool_t,
) -> *mut svn_delta_editor_t
Expand description

Return a default delta editor template, allocated in @a pool.

The editor functions in the template do only the most basic baton-swapping: each editor function that produces a baton does so by copying its incoming baton into the outgoing baton reference.

This editor is not intended to be useful by itself, but is meant to be the basis for a useful editor. After getting a default editor, you substitute in your own implementations for the editor functions you care about. The ones you don’t care about, you don’t have to implement – you can rely on the template’s implementation to safely do nothing of consequence.