Class: Aws::CodeCommit::Types::MergeHunk

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Information about merge hunks in a merge or pull request operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#baseTypes::MergeHunkDetail

Information about the merge hunk in the base of a merge or pull request.



4652
4653
4654
4655
4656
4657
4658
4659
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 4652

class MergeHunk < Struct.new(
  :is_conflict,
  :source,
  :destination,
  :base)
  SENSITIVE = []
  include Aws::Structure
end

#destinationTypes::MergeHunkDetail

Information about the merge hunk in the destination of a merge or pull request.



4652
4653
4654
4655
4656
4657
4658
4659
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 4652

class MergeHunk < Struct.new(
  :is_conflict,
  :source,
  :destination,
  :base)
  SENSITIVE = []
  include Aws::Structure
end

#is_conflictBoolean

A Boolean value indicating whether a combination of hunks contains a conflict. Conflicts occur when the same file or the same lines in a file were modified in both the source and destination of a merge or pull request. Valid values include true, false, and null. True when the hunk represents a conflict and one or more files contains a line conflict. File mode conflicts in a merge do not set this to true.

Returns:

  • (Boolean)


4652
4653
4654
4655
4656
4657
4658
4659
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 4652

class MergeHunk < Struct.new(
  :is_conflict,
  :source,
  :destination,
  :base)
  SENSITIVE = []
  include Aws::Structure
end

#sourceTypes::MergeHunkDetail

Information about the merge hunk in the source of a merge or pull request.



4652
4653
4654
4655
4656
4657
4658
4659
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 4652

class MergeHunk < Struct.new(
  :is_conflict,
  :source,
  :destination,
  :base)
  SENSITIVE = []
  include Aws::Structure
end