svn_uri_dirname

Function svn_uri_dirname 

Source
pub unsafe extern "C" fn svn_uri_dirname(
    uri: *const c_char,
    result_pool: *mut apr_pool_t,
) -> *mut c_char
Expand description

Get the dirname of the specified canonicalized @a uri, defined as the uri with its basename removed.

If @a uri is root (e.g. “http://server”), it is returned unchanged.

Allocate the result in @a result_pool.

@since New in 1.7.