/// <returns>the internal buffer holding the current path.</returns> public virtual byte[] GetPathBuffer() { return(last != null?treeWalk.GetEntryPathBuffer() : EMPTY_PATH); }