Browse Source

DirCacheEntry: access to raw path

Change-Id: I5d1f6c4b5b3d7a971367cdd0cc9fa4022dff5b85
Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com>‌
stable-3.4
Marc Strapetz 12 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
c5dfc2317c
  1. 9
      org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java

9
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheEntry.java vendored

@ -634,6 +634,15 @@ public class DirCacheEntry {
return toString(path); 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 ! * Use for debugging only !
*/ */

Loading…
Cancel
Save