pub unsafe extern "C" fn svn_io_file_rename2(
from_path: *const c_char,
to_path: *const c_char,
flush_to_disk: svn_boolean_t,
pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Rename and/or move the node (not necessarily a regular file) at @a from_path to a new path @a to_path within the same filesystem. In some cases, an existing node at @a to_path will be overwritten.
@a from_path and @a to_path are utf8-encoded. If @a flush_to_disk is non-zero, do not return until the node has actually been moved on the disk.
@note The flush to disk operation can be very expensive on systems that implement flushing on all IO layers, like Windows. Please use @a flush_to_disk flag only for critical data.
@since New in 1.10.