47 #ifndef SVN_DIRENT_URI_H
48 #define SVN_DIRENT_URI_H
51 #include <apr_pools.h>
52 #include <apr_tables.h>
95 const char *component,
198 const char *relative,
svn_boolean_t svn_dirent_is_absolute(const char *dirent)
Return TRUE if dirent is considered absolute on the platform at hand.
const char * svn_dirent_canonicalize(const char *dirent, apr_pool_t *pool)
Return a new dirent like dirent, but transformed such that some types of dirent specification redunda...
svn_boolean_t svn_dirent_is_ancestor(const char *path1, const char *path2)
Return TRUE if dirent1 is an ancestor of dirent2 or the dirents are equal and FALSE otherwise...
svn_boolean_t svn_dirent_is_canonical(const char *dirent, apr_pool_t *pool)
Return TRUE iff dirent is canonical.
char * svn_dirent_dirname(const char *dirent, apr_pool_t *pool)
Get the dirname of the specified canonicalized dirent, defined as the dirent with its basename remove...
const char * svn_dirent_local_style(const char *dirent, apr_pool_t *pool)
Convert dirent from the canonical internal style to the local style.
svn_error_t * svn_dirent_get_absolute(const char **pabsolute, const char *relative, apr_pool_t *pool)
Convert relative canonicalized dirent to an absolute dirent and return the results in *pabsolute...
char * svn_dirent_join_many(apr_pool_t *pool, const char *base,...)
Join multiple components onto a base dirent, allocated in pool.
const char * svn_dirent_is_child(const char *dirent1, const char *dirent2, apr_pool_t *pool)
This function is similar as svn_path_is_child, except that it supports Windows dirents and UNC paths ...
svn_boolean_t svn_dirent_is_root(const char *dirent, apr_size_t len)
Return TRUE if dirent is considered a root directory on the platform at hand.
char * svn_dirent_get_longest_ancestor(const char *dirent1, const char *dirent2, apr_pool_t *pool)
Return the longest common dirent shared by two canonicalized dirents, dirent1 and dirent2...
char * svn_dirent_join(const char *base, const char *component, apr_pool_t *pool)
Join a base dirent (base) with a component (component), allocated in pool.
int svn_boolean_t
YABT: Yet Another Boolean Type.
const char * svn_dirent_internal_style(const char *dirent, apr_pool_t *pool)
Convert dirent from the local style to the canonical internal style.