12345678910111213141516171819202122 |
- // Copyright (c) 2025 TerraByte Inc.
- //
- // A data container for the result of a pre-pull conflict analysis.
- // It indicates if conflicts were found and which files are involved.
- using System.Collections.Generic;
- using System.Linq;
- namespace Terra.Arbitrator.Settings
- {
- public class PullAnalysisResult
- {
- public bool HasConflicts { get; private set; }
- public List<string> ConflictingFiles { get; private set; }
- public PullAnalysisResult(List<string> conflictingFiles)
- {
- ConflictingFiles = conflictingFiles ?? new List<string>();
- HasConflicts = ConflictingFiles.Any();
- }
- }
- }
|