]> source.dussan.org Git - jgit.git/commitdiff
DirCacheEntry: access to raw path 56/22456/3
authorMarc Strapetz <marc.strapetz@syntevo.com>
Mon, 27 May 2013 08:32:47 +0000 (10:32 +0200)
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>
Wed, 26 Feb 2014 10:21:35 +0000 (05:21 -0500)
Change-Id: I5d1f6c4b5b3d7a971367cdd0cc9fa4022dff5b85
Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>‌
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java

index aa48c60414fe7292870e68b040147e9fee04260d..5df5c8d1a010bfc932f2c8e7fdb6fe7f8d2a6055 100644 (file)
@@ -634,6 +634,15 @@ public class DirCacheEntry {
                return toString(path);
        }
 
+       /**
+        * Get a copy of the entry's raw path bytes.
+        *
+        * @return raw path bytes.
+        */
+       public byte[] getRawPath() {
+               return path.clone();
+       }
+
        /**
         * Use for debugging only !
         */