pub unsafe extern "C" fn svn_wc_revision_status2(
result_p: *mut *mut svn_wc_revision_status_t,
wc_ctx: *mut svn_wc_context_t,
local_abspath: *const c_char,
trail_url: *const c_char,
committed: svn_boolean_t,
cancel_func: svn_cancel_func_t,
cancel_baton: *mut c_void,
result_pool: *mut apr_pool_t,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Set @a *result_p to point to a new #svn_wc_revision_status_t structure containing a summary of the revision range and status of the working copy at @a local_abspath (not including “externals”). @a local_abspath must be absolute. Return SVN_ERR_WC_PATH_NOT_FOUND if @a local_abspath is not a working copy path.
Set @a (*result_p)->min_rev and @a (*result_p)->max_rev respectively to the lowest and highest revision numbers in the working copy. If @a committed is TRUE, summarize the last-changed revisions, else the base revisions.
Set @a (*result_p)->switched to indicate whether any item in the WC is switched relative to its parent. If @a trail_url is non-NULL, use it to determine if @a local_abspath itself is switched. It should be any trailing portion of @a local_abspath’s expected URL, long enough to include any parts that the caller considers might be changed by a switch. If it does not match the end of @a local_abspath’s actual URL, then report a “switched” status.
Set @a (*result_p)->modified to indicate whether any item is locally modified.
If @a cancel_func is non-NULL, call it with @a cancel_baton to determine if the client has canceled the operation.
Allocate *result_p in @a result_pool, use @a scratch_pool for temporary allocations.
@a wc_ctx should be a valid working copy context.
@since New in 1.7