[JGIT PATCH v2 04/24] Added path related constats to Constats class.
Signed-off-by: Florian Koeberle <florianskarten@web.de>
---
.../src/org/spearce/jgit/lib/Constants.java | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java b/org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java
index 169c615..13e09d8 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/lib/Constants.java
@@ -171,6 +171,26 @@ public final class Constants {
public static String REMOTES_PREFIX = "refs/remotes";
/**
+ * The name of the repository directory in the project directory.
+ */
+ public static final String REPOSITORY_DIRECTORY_NAME = ".git";
+
+ /**
+ * Contains the name of the objects directory in the repository directory.
+ */
+ public static final String OBJECTS_DIRECTORY_NAME = "objects";
+
+ /**
+ * Contains the name of the refs directory in the repository directory.
+ */
+ public static final String REFS_DIRECTORY_NAME = "refs";
+
+ /**
+ * Contains the name of the HEAD file in the repository directory.
+ */
+ public static final String HEAD_FILE_NAME = "HEAD";
+
+ /**
* Create a new digest function for objects.
*
* @return a new digest object.
--
1.5.4.3