Home
last modified time | relevance | path

Searched refs:OVERFLOW_LINES_COUNT (Results 1 – 1 of 1) sorted by relevance

/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/merge_requests/
H A Doutdated_discussion_diff_lines_service.rb9 OVERFLOW_LINES_COUNT = 2 constant in MergeRequests.OutdatedDiscussionDiffLinesService
35 initial_line_index = [diff_line_index - OVERFLOW_LINES_COUNT, 0].max
36 last_line_index = [diff_line_index + OVERFLOW_LINES_COUNT, diff_lines.length].min