Refer to getEntryPathLength in docs of getEntryPathBuffer

Change-Id: Icca41d80bd0791cd2d4bf03297795d161afbee70
This commit is contained in:
Robin Stocker 2013-04-27 14:18:59 +02:00
parent 37f0e324b5
commit 664d738c9f
1 changed files with 8 additions and 1 deletions

View File

@ -425,7 +425,14 @@ public String getEntryPathString() {
return TreeWalk.pathOf(this);
}
/** @return the internal buffer holding the current path. */
/**
* Get the current entry path buffer.
* <p>
* Note that the returned byte[] has to be used together with
* {@link #getEntryPathLength()} (only use bytes up to this length).
*
* @return the internal buffer holding the current path.
*/
public byte[] getEntryPathBuffer() {
return path;
}