svn_wc_exclude

Function svn_wc_exclude 

Source
pub unsafe extern "C" fn svn_wc_exclude(
    wc_ctx: *mut svn_wc_context_t,
    local_abspath: *const c_char,
    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

Remove the local node for @a local_abspath from the working copy and add an excluded node placeholder in its place.

This feature is only supported for unmodified nodes. An #SVN_ERR_UNSUPPORTED_FEATURE error is returned if the node can’t be excluded in its current state.

@a wc_ctx contains a tree lock, for the local path to the working copy which will be used as the root of this operation

If @a notify_func is not @c NULL, call it with @a notify_baton to report changes as they are made.

If @a cancel_func is not @c NULL, call it with @a cancel_baton at various points to determine if the client has canceled the operation.

@since New in 1.7