Skip to main content

svn_path_dirname

Function svn_path_dirname 

Source
pub unsafe extern "C" fn svn_path_dirname(
    path: *const c_char,
    pool: *mut apr_pool_t,
) -> *mut c_char
Expand description

Get the dirname of the specified canonicalized @a path, defined as the path with its basename removed. If @a path is root (“/”), it is returned unchanged.

The returned dirname will be allocated in @a pool.

@deprecated Provided for backward compatibility with the 1.6 API. New code should use svn_dirent_dirname(), svn_uri_dirname(), svn_relpath_dirname() or svn_fspath__dirname().