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

base_strategy.rb « position_tracer « diff « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 65049daabf423c3ff8614143aa75226d4b3f12d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# frozen_string_literal: true

module Gitlab
  module Diff
    class PositionTracer
      class BaseStrategy
        attr_reader :tracer

        delegate \
          :project,
          :ac_diffs,
          :bd_diffs,
          :cd_diffs,
          to: :tracer

        def initialize(tracer)
          @tracer = tracer
        end

        def trace(position)
          raise NotImplementedError
        end
      end
    end
  end
end