public class SVNWCDbRoot
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SVNWCDbRoot.WCLock |
Modifier and Type | Field and Description |
---|---|
private java.io.File |
absPath
Location of this wcroot in the filesystem.
|
private SVNWCDb |
db |
private int |
format
The format of this wcroot's metadata storage (see wc.h).
|
private java.util.List<SVNWCDbRoot.WCLock> |
ownedLocks
Array of SVNWCDbLock fields.
|
private SVNSqlJetDb |
sDb
The SQLite database containing the metadata for everything in this
wcroot.
|
private long |
wcId
The WCROOT.id for this directory (and all its children).
|
Constructor and Description |
---|
SVNWCDbRoot(SVNWCDb db,
java.io.File absPath,
SVNSqlJetDb sDb,
long wcId,
int format,
boolean autoUpgrade,
boolean failOnVersionsMismatch,
boolean enforceEmptyWQ) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.io.File |
computeRelPath(java.io.File localAbsPath) |
void |
ensureNoUnfinishedTransactions() |
java.io.File |
getAbsPath() |
java.io.File |
getAbsPath(java.io.File localRelPath) |
SVNWCDb |
getDb() |
int |
getFormat() |
java.util.List<SVNWCDbRoot.WCLock> |
getOwnedLocks() |
SVNSqlJetDb |
getSDb() |
long |
getWcId() |
private SVNWCDb db
private java.io.File absPath
private SVNSqlJetDb sDb
private long wcId
private int format
private java.util.List<SVNWCDbRoot.WCLock> ownedLocks
public SVNWCDbRoot(SVNWCDb db, java.io.File absPath, SVNSqlJetDb sDb, long wcId, int format, boolean autoUpgrade, boolean failOnVersionsMismatch, boolean enforceEmptyWQ) throws SVNException
SVNException
public SVNWCDb getDb()
public java.io.File getAbsPath()
public SVNSqlJetDb getSDb()
public long getWcId()
public int getFormat()
public java.util.List<SVNWCDbRoot.WCLock> getOwnedLocks()
public void close() throws SVNException
SVNException
public java.io.File getAbsPath(java.io.File localRelPath)
public void ensureNoUnfinishedTransactions() throws SVNException
SVNException
public java.io.File computeRelPath(java.io.File localAbsPath)