2016-07-20 16:25:36 +00:00
|
|
|
module MergeRequests
|
|
|
|
class MergeRequestDiffCacheService
|
|
|
|
def execute(merge_request)
|
|
|
|
# Executing the iteration we cache all the highlighted diff information
|
2016-07-27 11:09:52 +00:00
|
|
|
merge_request.diff_file_collection.diff_files.to_a
|
2016-07-20 16:25:36 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|