debian-mirror-gitlab/app/models/concerns/acts_as_paginated_diff.rb
2020-01-01 13:55:28 +05:30

11 lines
369 B
Ruby

# 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