6ef6693e37
This is to prepare for supporing image type position tracing
26 lines
438 B
Ruby
26 lines
438 B
Ruby
# 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
|