svn_io_copy_dir_recursively

Function svn_io_copy_dir_recursively 

Source
pub unsafe extern "C" fn svn_io_copy_dir_recursively(
    src: *const c_char,
    dst_parent: *const c_char,
    dst_basename: *const c_char,
    copy_perms: svn_boolean_t,
    cancel_func: svn_cancel_func_t,
    cancel_baton: *mut c_void,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Recursively copy directory @a src into @a dst_parent, as a new entry named @a dst_basename. If @a dst_basename already exists in @a dst_parent, return error. @a copy_perms will be passed through to svn_io_copy_file() when any files are copied. @a src, @a dst_parent, and @a dst_basename are all utf8-encoded.

If @a cancel_func is non-NULL, invoke it with @a cancel_baton at various points during the operation. If it returns any error (typically #SVN_ERR_CANCELLED), return that error immediately.