Welcome to mirror list, hosted at ThFree Co, Russian Federation.

merge_request_diff_cache_service.rb « merge_requests « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2945a7fd4e4042f811cc1c1783bbf2b0d5503700 (plain)
1
2
3
4
5
6
7
8
module MergeRequests
  class MergeRequestDiffCacheService
    def execute(merge_request)
      # Executing the iteration we cache all the highlighted diff information
      merge_request.diffs.diff_files.to_a
    end
  end
end