Class RefTreeNames
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.reftree.RefTreeNames
-
public class RefTreeNames extends java.lang.ObjectMagic reference name logic for RefTrees.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringSTAGESuffix used on aRefTreeDatabase.getTxnNamespace()for user data.
-
Constructor Summary
Constructors Modifier Constructor Description privateRefTreeNames()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisRefTree(RefDatabase refdb, java.lang.String ref)Determine if the reference is likely to be a RefTree.
-
-
-
Field Detail
-
STAGE
private static final java.lang.String STAGE
Suffix used on aRefTreeDatabase.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.- See Also:
- Constant Field Values
-
-
Method Detail
-
isRefTree
public static boolean isRefTree(RefDatabase refdb, java.lang.String ref)
Determine if the reference is likely to be a RefTree.- Parameters:
refdb- database instance.ref- reference name.- Returns:
trueif the reference is a RefTree.
-
-