aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse
diff options
context:
space:
mode:
authorMarc Strapetz <marc.strapetz@syntevo.com>2013-05-27 10:32:47 +0200
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2014-02-26 05:21:35 -0500
commitc5dfc2317c66aed7271d60055f8361477de5d2aa (patch)
treecfcdde5ef692ef8380d3f2e37c78bbaa4a0bd892 /org.eclipse.jgit/src/org/eclipse
parentea16c2afff85b7659391f1c418b2272c5a02bd5e (diff)
downloadjgit-c5dfc2317c66aed7271d60055f8361477de5d2aa.tar.gz
jgit-c5dfc2317c66aed7271d60055f8361477de5d2aa.zip
DirCacheEntry: access to raw path
Change-Id: I5d1f6c4b5b3d7a971367cdd0cc9fa4022dff5b85 Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>‌
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java
index aa48c60414..5df5c8d1a0 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java
@@ -635,6 +635,15 @@ public class DirCacheEntry {
}
/**
+ * Get a copy of the entry's raw path bytes.
+ *
+ * @return raw path bytes.
+ */
+ public byte[] getRawPath() {
+ return path.clone();
+ }
+
+ /**
* Use for debugging only !
*/
@SuppressWarnings("nls")