svn_io_remove_dir2

Function svn_io_remove_dir2 

Source
pub unsafe extern "C" fn svn_io_remove_dir2(
    path: *const c_char,
    ignore_enoent: 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 remove directory @a path. @a path is utf8-encoded. If @a ignore_enoent is @c TRUE, don’t fail if the target directory doesn’t exist. Use @a pool for temporary allocations.

Because recursive delete of a directory tree can be a lengthy operation, provide @a cancel_func and @a cancel_baton for interruptibility.

@since New in 1.5.