1# frozen_string_literal: true
2
3module ActsAsPaginatedDiff
4  # Comparisons going back to the repository will need proper batch
5  # loading (https://gitlab.com/gitlab-org/gitlab/issues/32859).
6  # For now, we're returning all the diffs available with
7  # no pagination data.
8  def diffs_in_batch(_batch_page, _batch_size, diff_options:)
9    diffs(diff_options)
10  end
11end
12