Skip to main content

svn_dirent_dirname

Function svn_dirent_dirname 

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

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

If @a dirent is root (“/”, “X:/”, “//server/share/”) or “”, it is returned unchanged.

Allocate the result in @a result_pool.

@since New in 1.6.