Class SVNWCUtils


  • public class SVNWCUtils
    extends java.lang.Object
    Author:
    TMate Software Ltd.
    • Constructor Detail

      • SVNWCUtils

        public SVNWCUtils()
    • Method Detail

      • isRecursiveDepth

        public static boolean isRecursiveDepth​(SVNDepth depth)
        Return a recursion boolean based on @a depth. Although much code has been converted to use depth, some code still takes a recurse boolean. In most cases, it makes sense to treat unknown or infinite depth as recursive, and any other depth as non-recursive (which in turn usually translates to #svn_depth_files).
      • admChild

        public static java.io.File admChild​(java.io.File dirAbsPath,
                                            java.lang.String admChildFileName)
      • admInitTmpArea

        public static void admInitTmpArea​(java.io.File dirAbsPath)
                                   throws SVNException
        Throws:
        SVNException
      • readDate

        public static SVNDate readDate​(long date)
      • relpathDepth

        public static int relpathDepth​(java.io.File relpath)
      • relpathDepth

        public static int relpathDepth​(java.lang.String relpath)
      • getPathAsChild

        public static java.lang.String getPathAsChild​(java.io.File parent,
                                                      java.io.File child)
      • isChild

        public static boolean isChild​(java.io.File parent,
                                      java.io.File child)
      • isChild

        public static java.lang.String isChild​(java.lang.String parentPath,
                                               java.lang.String childPath)
      • isAncestor

        public static boolean isAncestor​(java.io.File parent,
                                         java.io.File child)
      • skipAncestor

        public static java.io.File skipAncestor​(java.io.File parent,
                                                java.io.File child)
      • isChild

        public static java.lang.String isChild​(SVNURL parent,
                                               SVNURL child)