text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  class MergeSummaryConflict {
      constructor(reason, file = null, meta) {
          this.reason = reason;
          this.file = file;
          this.meta = meta;
      }
      toString() {
          return `${this.file}:${this.reason}`;
      }
  }
  exports.MergeSummaryConflict = MergeSummaryConflict;
  class MergeSummaryDetail {
      constructor() {
          this.conflicts = [];
          this.merges = [];
          this.result = 'success';
      }
      get failed() {
          return this.conflicts.length > 0;
      }
      get reason() {
          return this.result;
      }
      toString() {
          if (this.conflicts.length) {
              return `CONFLICTS: ${this.conflicts.join(', ')}`;
          }
          return 'OK';
      }
  }
  exports.MergeSummaryDetail = MergeSummaryDetail;
  //# sourceMappingURL=MergeSummary.js.map