pub unsafe extern "C" fn svn_client_get_repos_root(
repos_root_url: *mut *const c_char,
repos_uuid: *mut *const c_char,
abspath_or_url: *const c_char,
ctx: *mut svn_client_ctx_t,
result_pool: *mut apr_pool_t,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Set @a *repos_root_url and @a *repos_uuid, to the root URL and UUID of the repository in which @a abspath_or_url is versioned. Use the authentication baton and working copy context cached in @a ctx as necessary. @a repos_root_url and/or @a repos_uuid may be NULL if not wanted.
This function will open a temporary RA session to the repository if necessary to get the information.
Allocate @a *repos_root_url and @a *repos_uuid in @a result_pool. Use @a scratch_pool for temporary allocations.
@since New in 1.8.