From: Florian Koeberle Date: Mon, 12 May 2008 20:13:22 GMT Subject: [JGIT PATCH v2 04/24] Added path related constats to Constats class. Message-ID: <1210623222-24908-5-git-send-email-florianskarten@web.de> In-Reply-To: <1210623222-24908-1-git-send-email-florianskarten@web.de> Signed-off-by: Florian Koeberle --- .../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