Class SVNWCDbRoot
java.lang.Object
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDbRoot
public class SVNWCDbRoot
extends java.lang.Object
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate java.io.FileLocation of this wcroot in the filesystem.private SVNWCDbprivate intThe format of this wcroot's metadata storage (see wc.h).private java.util.List<SVNWCDbRoot.WCLock>Array of SVNWCDbLock fields.private SVNSqlJetDbThe SQLite database containing the metadata for everything in this wcroot.private longThe WCROOT.id for this directory (and all its children). -
Constructor Summary
ConstructorsConstructorDescriptionSVNWCDbRoot(SVNWCDb db, java.io.File absPath, SVNSqlJetDb sDb, long wcId, int format, boolean autoUpgrade, boolean failOnVersionsMismatch, boolean enforceEmptyWQ) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()java.io.FilecomputeRelPath(java.io.File localAbsPath) voidjava.io.Filejava.io.FilegetAbsPath(java.io.File localRelPath) getDb()intjava.util.List<SVNWCDbRoot.WCLock>getSDb()longgetWcId()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
db
-
absPath
private java.io.File absPathLocation of this wcroot in the filesystem. -
sDb
The SQLite database containing the metadata for everything in this wcroot. -
wcId
private long wcIdThe WCROOT.id for this directory (and all its children). -
format
private int formatThe format of this wcroot's metadata storage (see wc.h). If the format has not (yet) been determined, this will be UNKNOWN_FORMAT. -
ownedLocks
Array of SVNWCDbLock fields. Typically just one or two locks maximum.
-
-
Constructor Details
-
SVNWCDbRoot
public SVNWCDbRoot(SVNWCDb db, java.io.File absPath, SVNSqlJetDb sDb, long wcId, int format, boolean autoUpgrade, boolean failOnVersionsMismatch, boolean enforceEmptyWQ) throws SVNException - Throws:
SVNException
-
-
Method Details
-
getDb
-
getAbsPath
public java.io.File getAbsPath() -
getSDb
-
getWcId
public long getWcId() -
getFormat
public int getFormat() -
getOwnedLocks
-
close
- Throws:
SVNException
-
getAbsPath
public java.io.File getAbsPath(java.io.File localRelPath) -
ensureNoUnfinishedTransactions
- Throws:
SVNException
-
computeRelPath
public java.io.File computeRelPath(java.io.File localAbsPath)
-