summaryrefslogtreecommitdiff
path: root/app/models/concerns/acts_as_paginated_diff.rb
blob: 4ce2f99e63fa59dde970530522170f7227f831cb (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module ActsAsPaginatedDiff
  # Comparisons going back to the repository will need proper batch
  # loading (https://gitlab.com/gitlab-org/gitlab/issues/32859).
  # For now, we're returning all the diffs available with
  # no pagination data.
  def diffs_in_batch(_batch_page, _batch_size, diff_options:)
    diffs(diff_options)
  end
end