UnityEditor.ASUpdateConflictResolveWindow.DoShowDiff C# (CSharp) Method

DoShowDiff() private method

private DoShowDiff ( bool binary ) : bool
binary bool
return bool
        private bool DoShowDiff(bool binary)
        {
            List<string> list = new List<string>();
            List<CompareInfo> list2 = new List<CompareInfo>();
            for (int i = 0; i < this.selectedLV1Items.Length; i++)
            {
                if (this.selectedLV1Items[i])
                {
                    int serverItemChangeset = AssetServer.GetServerItemChangeset(this.downloadConflicts[i], -1);
                    int num3 = !AssetServer.HasDeletionConflict(this.downloadConflicts[i]) ? -1 : -2;
                    list.Add(this.downloadConflicts[i]);
                    list2.Add(new CompareInfo(serverItemChangeset, num3, !binary ? 0 : 1, !binary ? 1 : 0));
                }
            }
            if (list.Count != 0)
            {
                AssetServer.CompareFiles(list.ToArray(), list2.ToArray());
            }
            else
            {
                return false;
            }
            return true;
        }