svn_io_copy_file

Function svn_io_copy_file 

Source
pub unsafe extern "C" fn svn_io_copy_file(
    src: *const c_char,
    dst: *const c_char,
    copy_perms: svn_boolean_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Copy @a src to @a dst atomically, in a “byte-for-byte” manner. Overwrite @a dst if it exists, else create it. Both @a src and @a dst are utf8-encoded filenames. If @a copy_perms is TRUE, set @a dst’s permissions to match those of @a src.