svn_wc_status3

Function svn_wc_status3 

Source
pub unsafe extern "C" fn svn_wc_status3(
    status: *mut *mut svn_wc_status3_t,
    wc_ctx: *mut svn_wc_context_t,
    local_abspath: *const c_char,
    result_pool: *mut apr_pool_t,
    scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Fill @a *status for @a local_abspath, allocating in @a result_pool. Use @a scratch_pool for temporary allocations.

Here are some things to note about the returned structure. A quick examination of the @c status->text_status after a successful return of this function can reveal the following things:

  • #svn_wc_status_none : @a local_abspath is not versioned, and is not present on disk

  • #svn_wc_status_missing : @a local_abspath is versioned, but is missing from the working copy.

  • #svn_wc_status_unversioned : @a local_abspath is not versioned, but is present on disk and not being ignored (see above).

The other available results for the @c text_status field are more straightforward in their meanings. See the comments on the #svn_wc_status_kind structure for some hints.

@since New in 1.7.