Просмотр исходного кода

Refer to getEntryPathLength in docs of getEntryPathBuffer

Change-Id: Icca41d80bd0791cd2d4bf03297795d161afbee70
tags/v3.0.0.201305080800-m7
Robin Stocker 11 лет назад
Родитель
Сommit
664d738c9f
1 измененных файлов: 8 добавлений и 1 удалений
  1. 8
    1
      org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java

+ 8
- 1
org.eclipse.jgit/src/org/eclipse/jgit/treewalk/AbstractTreeIterator.java Просмотреть файл

return TreeWalk.pathOf(this); 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() { public byte[] getEntryPathBuffer() {
return path; return path;
} }

Загрузка…
Отмена
Сохранить