aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Strapetz2013-05-27 04:32:47 (EDT)
committerGerrit Code Review @ Eclipse.org2014-02-26 05:21:35 (EST)
commitc5dfc2317c66aed7271d60055f8361477de5d2aa (patch)
treecfcdde5ef692ef8380d3f2e37c78bbaa4a0bd892
parentea16c2afff85b7659391f1c418b2272c5a02bd5e (diff)
downloadjgit-c5dfc2317c66aed7271d60055f8361477de5d2aa.zip
jgit-c5dfc2317c66aed7271d60055f8361477de5d2aa.tar.gz
jgit-c5dfc2317c66aed7271d60055f8361477de5d2aa.tar.bz2
DirCacheEntry: access to raw pathrefs/changes/56/22456/3
Change-Id: I5d1f6c4b5b3d7a971367cdd0cc9fa4022dff5b85 Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>‌
-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 aa48c60..5df5c8d 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")