| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.CodeCommit.Types.MergeHunk
Description
Synopsis
Documentation
Information about merge hunks in a merge or pull request operation.
See: newMergeHunk smart constructor.
Constructors
| MergeHunk' | |
Fields 
  | |
Instances
newMergeHunk :: MergeHunk Source #
Create a value of MergeHunk with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:base:MergeHunk', mergeHunk_base - Information about the merge hunk in the base of a merge or pull request.
$sel:destination:MergeHunk', mergeHunk_destination - Information about the merge hunk in the destination of a merge or pull
 request.
$sel:isConflict:MergeHunk', mergeHunk_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.
$sel:source:MergeHunk', mergeHunk_source - Information about the merge hunk in the source of a merge or pull
 request.
mergeHunk_base :: Lens' MergeHunk (Maybe MergeHunkDetail) Source #
Information about the merge hunk in the base of a merge or pull request.
mergeHunk_destination :: Lens' MergeHunk (Maybe MergeHunkDetail) Source #
Information about the merge hunk in the destination of a merge or pull request.
mergeHunk_isConflict :: Lens' MergeHunk (Maybe Bool) Source #
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.
mergeHunk_source :: Lens' MergeHunk (Maybe MergeHunkDetail) Source #
Information about the merge hunk in the source of a merge or pull request.