public class FSRepositoryUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_KEY_SIZE |
Constructor and Description |
---|
FSRepositoryUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areFileContentsChanged(FSRoot root1,
java.lang.String path1,
FSRoot root2,
java.lang.String path2) |
static boolean |
arePropertiesChanged(FSRoot root1,
java.lang.String path1,
FSRoot root2,
java.lang.String path2) |
static boolean |
arePropertiesEqual(FSRevisionNode revNode1,
FSRevisionNode revNode2) |
static boolean |
checkFilesDifferent(FSRoot root1,
java.lang.String path1,
FSRoot root2,
java.lang.String path2,
SVNDeltaCombiner deltaCombiner) |
static void |
checkReposDBFormat(int format) |
static void |
copy(java.io.InputStream src,
java.io.OutputStream dst,
ISVNCanceller canceller) |
static java.lang.String |
generateLockToken() |
static java.lang.String |
generateNextKey(java.lang.String oldKey) |
static SVNProperties |
getPropsDiffs(SVNProperties sourceProps,
SVNProperties targetProps) |
static void |
loadRootChangesOffset(FSFS fsfs,
long revision,
FSFile file,
long[] rootOffset,
long[] changesOffset) |
static void |
replay(FSFS fsfs,
FSRoot root,
java.lang.String basePath,
long lowRevision,
boolean sendDeltas,
ISVNEditor editor) |
static void |
sendTextDelta(ISVNEditor editor,
java.lang.String editPath,
java.lang.String sourcePath,
java.lang.String hexDigest,
FSRevisionRoot sourceRoot,
java.lang.String targetPath,
FSRoot targetRoot,
boolean sendDeltas,
SVNDeltaCombiner deltaCombiner,
SVNDeltaGenerator deltaGenerator,
FSFS fsfs) |
static void |
validateProperty(java.lang.String propertyName,
SVNPropertyValue propertyValue) |
public static final int MAX_KEY_SIZE
public static java.lang.String generateLockToken() throws SVNException
SVNException
public static void replay(FSFS fsfs, FSRoot root, java.lang.String basePath, long lowRevision, boolean sendDeltas, ISVNEditor editor) throws SVNException
SVNException
public static void copy(java.io.InputStream src, java.io.OutputStream dst, ISVNCanceller canceller) throws SVNException
SVNException
public static boolean arePropertiesEqual(FSRevisionNode revNode1, FSRevisionNode revNode2)
public static boolean arePropertiesChanged(FSRoot root1, java.lang.String path1, FSRoot root2, java.lang.String path2) throws SVNException
SVNException
public static boolean areFileContentsChanged(FSRoot root1, java.lang.String path1, FSRoot root2, java.lang.String path2) throws SVNException
SVNException
public static SVNProperties getPropsDiffs(SVNProperties sourceProps, SVNProperties targetProps)
public static boolean checkFilesDifferent(FSRoot root1, java.lang.String path1, FSRoot root2, java.lang.String path2, SVNDeltaCombiner deltaCombiner) throws SVNException
SVNException
public static void sendTextDelta(ISVNEditor editor, java.lang.String editPath, java.lang.String sourcePath, java.lang.String hexDigest, FSRevisionRoot sourceRoot, java.lang.String targetPath, FSRoot targetRoot, boolean sendDeltas, SVNDeltaCombiner deltaCombiner, SVNDeltaGenerator deltaGenerator, FSFS fsfs) throws SVNException
SVNException
public static void loadRootChangesOffset(FSFS fsfs, long revision, FSFile file, long[] rootOffset, long[] changesOffset) throws SVNException
SVNException
public static java.lang.String generateNextKey(java.lang.String oldKey) throws SVNException
SVNException
public static void checkReposDBFormat(int format) throws SVNException
SVNException
public static void validateProperty(java.lang.String propertyName, SVNPropertyValue propertyValue) throws SVNException
SVNException
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.