Class SVNWCDbRoot
java.lang.Object
org.tmatesoft.svn.core.internal.wc17.db.SVNWCDbRoot
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate File
Location of this wcroot in the filesystem.private SVNWCDb
private int
The format of this wcroot's metadata storage (see wc.h).private List<SVNWCDbRoot.WCLock>
Array of SVNWCDbLock fields.private SVNSqlJetDb
The SQLite database containing the metadata for everything in this wcroot.private long
The WCROOT.id for this directory (and all its children). -
Constructor Summary
ConstructorsConstructorDescriptionSVNWCDbRoot
(SVNWCDb db, File absPath, SVNSqlJetDb sDb, long wcId, int format, boolean autoUpgrade, boolean failOnVersionsMismatch, boolean enforceEmptyWQ) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
computeRelPath
(File localAbsPath) void
getAbsPath
(File localRelPath) getDb()
int
getSDb()
long
getWcId()
-
Field Details
-
db
-
absPath
Location 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, File absPath, SVNSqlJetDb sDb, long wcId, int format, boolean autoUpgrade, boolean failOnVersionsMismatch, boolean enforceEmptyWQ) throws SVNException - Throws:
SVNException
-
-
Method Details
-
getDb
-
getAbsPath
-
getSDb
-
getWcId
public long getWcId() -
getFormat
public int getFormat() -
getOwnedLocks
-
close
- Throws:
SVNException
-
getAbsPath
-
ensureNoUnfinishedTransactions
- Throws:
SVNException
-
computeRelPath
-