diff options
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java | 9 |
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") |