Class FSRepositoryUtil


  • public class FSRepositoryUtil
    extends java.lang.Object
    Version:
    1.3
    Author:
    TMate Software Ltd.
    • Constructor Detail

      • FSRepositoryUtil

        public FSRepositoryUtil()
    • Method Detail

      • arePropertiesChanged

        public static boolean arePropertiesChanged​(FSRoot root1,
                                                   java.lang.String path1,
                                                   FSRoot root2,
                                                   java.lang.String path2)
                                            throws SVNException
        Throws:
        SVNException
      • areFileContentsChanged

        public static boolean areFileContentsChanged​(FSRoot root1,
                                                     java.lang.String path1,
                                                     FSRoot root2,
                                                     java.lang.String path2)
                                              throws SVNException
        Throws:
        SVNException
      • loadRootChangesOffsetLogicalAddressing

        public static void loadRootChangesOffsetLogicalAddressing​(FSFS fsfs,
                                                                  long revision,
                                                                  FSFile file,
                                                                  long index,
                                                                  long[] rootOffset,
                                                                  long[] changesOffset)
                                                           throws SVNException
        Throws:
        SVNException
      • loadRootChangesOffset

        public static void loadRootChangesOffset​(FSFS fsfs,
                                                 long revision,
                                                 FSFile file,
                                                 long[] rootOffset,
                                                 long[] changesOffset)
                                          throws SVNException
        Throws:
        SVNException
      • generateNextKey

        public static java.lang.String generateNextKey​(java.lang.String oldKey)
                                                throws SVNException
        Throws:
        SVNException
      • align

        public static long align​(long size,
                                 long boundary)
      • readLongLittleEndian

        public static long readLongLittleEndian​(java.io.RandomAccessFile randomAccessFile)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • writeLongLittleEndian

        public static void writeLongLittleEndian​(java.io.RandomAccessFile randomAccessFile,
                                                 long value)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • encodeInt

        public static int encodeInt​(byte[] bytes,
                                    long value)
      • encodeUnsignedInt

        public static int encodeUnsignedInt​(byte[] bytes,
                                            long value)