MergeHunk - Amazon CodeCommit
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

MergeHunk

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

Contents

base

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

Type: MergeHunkDetail object

Required: No

destination

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

Type: MergeHunkDetail object

Required: No

isConflict

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.

Type: Boolean

Required: No

source

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

Type: MergeHunkDetail object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: