Class FSRoot
java.lang.Object
org.tmatesoft.svn.core.internal.io.fs.FSRoot
- Direct Known Subclasses:
FSRevisionRoot,FSTransactionRoot
- Version:
- 1.3
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FSFSprivate FSRoot.RevisionCacheprotected FSRevisionNode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckNodeKind(String path) private voidencodeL2PPage(byte[] encoded, List<Long> entries, int start, int end, SVNSpillBuffer spillBuffer) protected MapfetchAllChanges(FSFile changesFile, boolean prefolded) protected FSRevisionNodefetchRevNodeFromCache(String path) private voidfoldChange(Map mapChanges, FSPathChange change) abstract Mapabstract FSCopyInheritancegetCopyInheritance(FSParentPath child) longgetFileSize(String path) getFileStreamForPath(SVNDeltaCombiner combiner, String path) getOwner()abstract longgetRevisionNode(String path) abstract FSRevisionNodebooleanvoidputRevNodeToCache(String path, FSRevisionNode node) private FSPathChangereadChange(FSFile raReader) voidremoveRevNodeFromCache(String path) private static voidwriteEncoded(OutputStream outputStream, byte[] bytes, long value) voidwriteIndexData(CountingOutputStream protoFile, long newRevision, String txnId) private StringwriteL2PIndex(CountingOutputStream protoFile, long revision, String txnId) private StringwriteP2LIndex(CountingOutputStream protoFile, long revision, String txnId)
-
Field Details
-
myRevNodesCache
-
myFSFS
-
myRootRevisionNode
-
-
Constructor Details
-
FSRoot
-
-
Method Details
-
getOwner
-
getRevisionNode
- Throws:
SVNException
-
getRevision
public abstract long getRevision() -
getRootRevisionNode
- Throws:
SVNException
-
getChangedPaths
- Throws:
SVNException
-
getCopyInheritance
- Throws:
SVNException
-
openPath
public FSParentPath openPath(String path, boolean lastEntryMustExist, boolean storeParents) throws SVNException - Throws:
SVNException
-
checkNodeKind
- Throws:
SVNException
-
putRevNodeToCache
- Throws:
SVNException
-
removeRevNodeFromCache
- Throws:
SVNException
-
fetchRevNodeFromCache
- Throws:
SVNException
-
foldChange
- Throws:
SVNException
-
fetchAllChanges
- Throws:
SVNException
-
detectChanged
- Throws:
SVNException
-
readChange
- Throws:
SVNException
-
getFileStreamForPath
- Throws:
SVNException
-
getFileSize
- Throws:
SVNException
-
isUseLogAddressing
public boolean isUseLogAddressing() -
writeIndexData
public void writeIndexData(CountingOutputStream protoFile, long newRevision, String txnId) throws SVNException - Throws:
SVNException
-
writeL2PIndex
private String writeL2PIndex(CountingOutputStream protoFile, long revision, String txnId) throws SVNException - Throws:
SVNException
-
writeP2LIndex
private String writeP2LIndex(CountingOutputStream protoFile, long revision, String txnId) throws SVNException - Throws:
SVNException
-
encodeL2PPage
private void encodeL2PPage(byte[] encoded, List<Long> entries, int start, int end, SVNSpillBuffer spillBuffer) throws SVNException - Throws:
SVNException
-
writeEncoded
private static void writeEncoded(OutputStream outputStream, byte[] bytes, long value) throws IOException - Throws:
IOException
-