gitlab-ce/lib/gitlab/gitaly_client/diff.rb

15 lines
329 B
Ruby

# frozen_string_literal: true
module Gitlab
module GitalyClient
class Diff
# Attributes exposed from Gitaly's CommitDiffResponse
ATTRS = %i[
from_path to_path old_mode new_mode from_id to_id patch overflow_marker collapsed too_large binary
].freeze
include AttributesBag
end
end
end