svn_repos_replay2

Function svn_repos_replay2 

Source
pub unsafe extern "C" fn svn_repos_replay2(
    root: *mut svn_fs_root_t,
    base_dir: *const c_char,
    low_water_mark: svn_revnum_t,
    send_deltas: svn_boolean_t,
    editor: *const svn_delta_editor_t,
    edit_baton: *mut c_void,
    authz_read_func: svn_repos_authz_func_t,
    authz_read_baton: *mut c_void,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Use the provided @a editor and @a edit_baton to describe the skeletal changes made in a particular filesystem @a root (revision or transaction).

Changes will be limited to those within @a base_dir, and if @a low_water_mark is set to something other than #SVN_INVALID_REVNUM it is assumed that the client has no knowledge of revisions prior to @a low_water_mark. Together, these two arguments define the portion of the tree that the client is assumed to have knowledge of, and thus any copies of data from outside that part of the tree will be sent in their entirety, not as simple copies or deltas against a previous version.

The @a editor passed to this function should be aware of the fact that, if @a send_deltas is FALSE, calls to its change_dir_prop(), change_file_prop(), and apply_textdelta() functions will not contain meaningful data, and merely serve as indications that properties or textual contents were changed.

If @a send_deltas is @c TRUE, the text and property deltas for changes will be sent, otherwise NULL text deltas and empty prop changes will be used.

If @a authz_read_func is non-NULL, it will be used to determine if the user has read access to the data being accessed. Data that the user cannot access will be skipped.

@note This editor driver passes SVN_INVALID_REVNUM for all revision parameters in the editor interface except the copyfrom parameter of the add_file() and add_directory() editor functions.

@since New in 1.4.