/// <summary>Get the current object's path hash code.</summary> /// <remarks> /// Get the current object's path hash code. /// <p> /// This method computes a hash code on the fly for this path, the hash is /// suitable to cluster objects that may have similar paths together. /// </remarks> /// <returns>path hash code; any integer may be returned.</returns> public virtual int GetPathHashCode() { return(last != null?treeWalk.GetEntryPathHashCode() : 0); }