Beispiel #1
0
        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;
        }
Beispiel #2
0
 internal static int LastPathChar(WorkingTreeIterator.Entry e)
 {
     return(e.GetMode() == FileMode.TREE ? '/' : '\0');
 }