pub unsafe extern "C" fn svn_relpath_canonicalize(
relpath: *const c_char,
result_pool: *mut apr_pool_t,
) -> *const c_charExpand description
Return a new relpath like @a relpath, but transformed such that some types of relpath specification redundancies are removed.
This involves:
- collapsing redundant “/./” elements
- removing multiple adjacent separator characters
- removing trailing separator characters
and possibly other semantically inoperative transformations.
Allocate the result in @a result_pool.
@warning This function may call @c abort() if @a relpath can not be canonicalized. Use svn_relpath_canonicalize_safe() for tainted input.
@since New in 1.7.