2019-02-15 15:39:39 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
module Gitlab
|
|
|
|
module Git
|
|
|
|
class WikiPageVersion
|
|
|
|
attr_reader :commit, :format
|
|
|
|
|
|
|
|
def initialize(commit, format)
|
|
|
|
@commit = commit
|
|
|
|
@format = format
|
|
|
|
end
|
|
|
|
|
|
|
|
delegate :message, :sha, :id, :author_name, :authored_date, to: :commit
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|