APU_Play_Mega.Form1.MakeDirectoryListing C# (CSharp) Method

MakeDirectoryListing() private method

private MakeDirectoryListing ( string entry ) : void
entry string
return void
        private void MakeDirectoryListing(string entry)
        {
            if (!entry.StartsWith("----START OF DIRECTORY LISTING----")) return;

            _direntries[_filetreedepth].Clear();
            var direntry = ReadLine();
            var dircount = 0;
            while (!direntry.StartsWith("----END OF DIRECTORY LISTING----"))
            {
                _direntries[_filetreedepth].Add(dircount++, direntry.Split('|')[1]);
                direntry = ReadLine();
            }
            PopulateDirTree();
        }