blob: 772b549314e149540eb92250a25db9dc30edef58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class DiffFileMetadataEntity < Grape::Entity
include DiffFileConflictType
expose :added_lines
expose :removed_lines
expose :new_path
expose :old_path
expose :new_file?, as: :new_file
expose :deleted_file?, as: :deleted_file
expose :submodule?, as: :submodule
expose :file_identifier_hash
expose :file_hash
end
|