pub unsafe extern "C" fn svn_wc_cleanup4(
wc_ctx: *mut svn_wc_context_t,
local_abspath: *const c_char,
break_locks: svn_boolean_t,
fix_recorded_timestamps: svn_boolean_t,
clear_dav_cache: svn_boolean_t,
vacuum_pristines: svn_boolean_t,
cancel_func: svn_cancel_func_t,
cancel_baton: *mut c_void,
notify_func: svn_wc_notify_func2_t,
notify_baton: *mut c_void,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Recurse from @a local_abspath, cleaning up unfinished tasks. Perform any temporary allocations in @a scratch_pool. If @a break_locks is TRUE Any working copy locks under @a local_abspath will be taken over and then cleared by this function. WARNING: If @a break_locks is TRUE there is no mechanism that will protect locks that are still being used.
If @a fix_recorded_timestamps is TRUE the recorded timestamps of unmodified files will be updated, which will improve performance of future is-modified checks.
If @a clear_dav_cache is @c TRUE, the caching of DAV information for older mod_dav served repositories is cleared. This clearing invalidates some cached information used for pre-HTTPv2 repositories.
If @a vacuum_pristines is TRUE, try to remove unreferenced pristines from the working copy. (Will not remove anything unless the obtained lock applies to the entire working copy)
If @a cancel_func is non-NULL, invoke it with @a cancel_baton at various points during the operation. If it returns an error (typically #SVN_ERR_CANCELLED), return that error immediately.
If @a notify_func is non-NULL, invoke it with @a notify_baton to report the progress of the operation.
@note In 1.9, @a notify_func does not get called at all. This may change in later releases.
@since New in 1.9.