108
108
* @deprecated Provided for backward compatibility with the 1.6 API.
109
* New code should use svn_dirent_join(), svn_uri_join(),
110
* svn_relpath_join() or svn_fspath__join().
109
* New code should use svn_dirent_join(), svn_relpath_join() or
110
* svn_fspath__join().
297
297
/** Return an integer greater than, equal to, or less than 0, according
298
298
* as @a path1 is greater than, equal to, or less than @a path2.
300
* This function works like strcmp() except that it orders children in
301
* subdirectories directly after their parents. This allows using the
302
* given ordering for a depth first walk.
301
305
svn_path_compare_paths(const char *path1, const char *path2);
509
513
* identify the remainder path.
511
515
* @deprecated Provided for backward compatibility with the 1.6 API.
512
* New code should use svn_dirent_is_child(), svn_uri_is_child(),
513
* svn_relpath_is_child() or svn_fspath__is_child().
516
* For replacement functionality, see svn_dirent_skip_ancestor(),
517
* svn_dirent_is_child(), svn_uri_skip_ancestor(), and
518
* svn_relpath_skip_ancestor().
522
527
* @since New in 1.3.
524
529
* @deprecated Provided for backward compatibility with the 1.6 API.
525
* New code should use svn_dirent_is_ancestor(), svn_uri_is_ancestor(),
526
* svn_relpath_is_ancestor() or svn_fspath__is_ancestor().
530
* For replacement functionality, see svn_dirent_skip_ancestor(),
531
* svn_uri_skip_ancestor(), and svn_relpath_skip_ancestor().
674
/** Repository relative URLs
676
* @defgroup svn_path_repos_relative_urls Repository relative URLs
681
* Return @c TRUE iff @a path is a repository-relative URL: specifically
682
* that it starts with the characters "^/"
684
* @a path is in UTF-8 encoding.
686
* Does not check whether @a path is a properly URI-encoded, canonical, or
687
* valid in any other way.
692
svn_path_is_repos_relative_url(const char *path);
695
* Set @a absolute_url to the absolute URL represented by @a relative_url
696
* relative to @a repos_root_url, preserving any peg revision
697
* specifier present in @a relative_url. Allocate @a absolute_url
700
* @a relative_url is in repository-relative syntax: "^/[REL-URL][@PEG]"
702
* @a repos_root_url is the absolute URL of the repository root.
704
* All strings are in UTF-8 encoding.
706
* @a repos_root_url and @a relative_url do not have to be properly
707
* URI-encoded, canonical, or valid in any other way. The caller is
708
* expected to perform canonicalization on @a absolute_url after the
709
* call to the function.
714
svn_path_resolve_repos_relative_url(const char **absolute_url,
715
const char *relative_url,
716
const char *repos_root_url,
719
/* Return a copy of @a path, allocated from @a pool, for which control
720
* characters have been escaped using the form \NNN (where NNN is the
721
* octal representation of the byte's ordinal value).
723
* @since New in 1.8. */
725
svn_path_illegal_path_escape(const char *path, apr_pool_t *pool);
668
729
#ifdef __cplusplus
670
731
#endif /* __cplusplus */