Пример #1
0
 bool FindUnresolvedFiles(IEnumerable <string> SyncPaths, out List <PerforceFileRecord> UnresolvedFiles)
 {
     UnresolvedFiles = new List <PerforceFileRecord>();
     foreach (string SyncPath in SyncPaths)
     {
         List <PerforceFileRecord> Records;
         if (!Perforce.GetUnresolvedFiles(SyncPath, out Records, Log))
         {
             Log.WriteLine("Couldn't find open files matching {0}", SyncPath);
             return(false);
         }
         UnresolvedFiles.AddRange(Records);
     }
     return(true);
 }