private void ParseEntry() { ignoreStatus = -1; WorkingTreeIterator.Entry e = entries[ptr]; mode = e.GetMode().GetBits(); int nameLen = e.encodedNameLen; EnsurePathCapacity(pathOffset + nameLen, pathOffset); System.Array.Copy(e.encodedName, 0, path, pathOffset, nameLen); pathLen = pathOffset + nameLen; }
internal static int LastPathChar(WorkingTreeIterator.Entry e) { return(e.GetMode() == FileMode.TREE ? '/' : '\0'); }