svn_ra_get_path_relative_to_session

Function svn_ra_get_path_relative_to_session 

Source
pub unsafe extern "C" fn svn_ra_get_path_relative_to_session(
    ra_session: *mut svn_ra_session_t,
    rel_path: *mut *const c_char,
    url: *const c_char,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Convert @a url into a path relative to the session URL of @a ra_session, setting @a *rel_path to that value. If @a url is not a child of the session URL, return @c SVN_ERR_RA_ILLEGAL_URL.

The returned path is uri decoded to allow using it with the ra or other apis as a valid relpath.

@since New in 1.7.