public class RefTreeNames
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
STAGE
Suffix used on a
RefTreeDatabase.getTxnNamespace() for user data. |
| Modifier | Constructor and Description |
|---|---|
private |
RefTreeNames() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isRefTree(RefDatabase refdb,
java.lang.String ref)
Determine if the reference is likely to be a RefTree.
|
private static final java.lang.String STAGE
RefTreeDatabase.getTxnNamespace() for user data.
A RefTreeDatabase's namespace may include a subspace (e.g.
"refs/txn/stage/") containing commit objects from the usual user
portion of the repository (e.g. "refs/heads/"). These should be
packed by the garbage collector alongside other user content rather than
with the RefTree.
public static boolean isRefTree(RefDatabase refdb, java.lang.String ref)
refdb - database instance.ref - reference name.true if the reference is a RefTree.