svn_wc_adm_probe_open3

Function svn_wc_adm_probe_open3 

Source
pub unsafe extern "C" fn svn_wc_adm_probe_open3(
    adm_access: *mut *mut svn_wc_adm_access_t,
    associated: *mut svn_wc_adm_access_t,
    path: *const c_char,
    write_lock: svn_boolean_t,
    levels_to_lock: c_int,
    cancel_func: svn_cancel_func_t,
    cancel_baton: *mut c_void,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Checks the working copy to determine the node type of @a path. If @a path is a versioned directory then the behaviour is like that of svn_wc_adm_open3(), otherwise, if @a path is a file or does not exist, then the behaviour is like that of svn_wc_adm_open3() with @a path replaced by the parent directory of @a path. If @a path is an unversioned directory, the behaviour is also like that of svn_wc_adm_open3() on the parent, except that if the open fails, then the returned #SVN_ERR_WC_NOT_DIRECTORY error refers to @a path, not to @a path’s parent.

@since New in 1.2. @deprecated Provided for backward compatibility with the 1.6 API. Callers should use a #svn_wc_context_t object to access the working copy.