public void buildShareList() { _thWrk.Report("Building FileList"); List <RvFile> filesGot = new List <RvFile>(); List <RvFile> filesMissing = new List <RvFile>(); FindFixes.GetSelectedFiles(DB.DirRoot, true, filesGot, filesMissing); _thWrk.Report("Sorting Got CRC"); RvFile[] filesGotSortedCRC = FindFixesSort.SortCRC(filesGot); FindFixes.MergeGotFiles(filesGotSortedCRC, out FileGroup[] fileGroupsCRCSorted); _thWrk.Report("Sorting Got SHA1"); FindFixesSort.SortFamily(fileGroupsCRCSorted, FindSHA1, FamilySortSHA1, out fileGroupsSHA1Sorted); }
public void StartClient(ThreadWorker e) { _thWrk = e; session = Guid.NewGuid().ToByteArray(); _thWrk?.Report("Building FileList"); List <RvFile> filesGot = new List <RvFile>(); List <RvFile> filesMissing = new List <RvFile>(); FindFixes.GetSelectedFiles(DB.DirRoot, true, filesGot, filesMissing); _thWrk?.Report("Sorting Missing CRC"); RvFile[] filesMissingSortedCRC = FindFixesSort.SortCRC(filesMissing); FindFixes.MergeGotFiles(filesMissingSortedCRC, out FileGroup[] fileMissingGroupsCRCSorted); _thWrk?.Report("Sorting Missing SHA1"); FindFixesSort.SortFamily(fileMissingGroupsCRCSorted, FindSHA1, FamilySortSHA1, out fileMissingGroupsSHA1Sorted); Find(); }