FreeBSD/contrib/subversion/subversion/libsvn_fs_x/hotcopy.c
/* Remove folder PATH.  Ignore errors due to the sub-tree not being empty.
 * CANCEL_FUNC and CANCEL_BATON do the usual thing.
 * Use SCRATCH_POOL for temporary allocations.
 */
Remove folder PATH.  Ignore errors due to the sub-tree not being empty.
CANCEL_FUNC and CANCEL_BATON do the usual thing.
Use SCRATCH_POOL for temporary allocations.
Remove folder PATH . Ignore errors due to the sub - tree not being empty . CANCEL_FUNC and CANCEL_BATON do the usual thing . Use SCRATCH_POOL for temporary allocations .
static svn_error_t *
remove_folder(const char *path,
              svn_cancel_func_t cancel_func,
              void *cancel_baton,
              apr_pool_t *scratch_pool)
{
  svn_error_t *err = svn_io_remove_dir2(path, TRUE,
                                        cancel_func, cancel_baton,
                                        scratch_pool);
  if (err && APR_STATUS_IS_ENOTEMPTY(err->apr_err))
    {
      svn_error_clear(err);
      err = SVN_NO_ERROR;
    }
  return svn_error_trace(err);
}
static svn_error_t * remove_folder ( const char * path , svn_cancel_func_t cancel_func , void * cancel_baton , apr_pool_t * scratch_pool ) { svn_error_t * err = svn_io_remove_dir2 ( path , TRUE , cancel_func , cancel_baton , scratch_pool ) ; if ( err && APR_STATUS_IS_ENOTEMPTY ( err -> apr_err ) ) { svn_error_clear ( err ) ; err = SVN_NO_ERROR ; } return svn_error_trace ( err ) ; }
Remove folder PATH.
Remove folder PATH .