| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.CodeCommit.Types.Conflict
Description
Synopsis
Documentation
Information about conflicts in a merge operation.
See: newConflict smart constructor.
Constructors
| Conflict' | |
Fields
| |
Instances
| Eq Conflict Source # | |
| Read Conflict Source # | |
| Show Conflict Source # | |
| Generic Conflict Source # | |
| NFData Conflict Source # | |
Defined in Amazonka.CodeCommit.Types.Conflict | |
| Hashable Conflict Source # | |
Defined in Amazonka.CodeCommit.Types.Conflict | |
| FromJSON Conflict Source # | |
| type Rep Conflict Source # | |
Defined in Amazonka.CodeCommit.Types.Conflict type Rep Conflict = D1 ('MetaData "Conflict" "Amazonka.CodeCommit.Types.Conflict" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "Conflict'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mergeHunks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MergeHunk])) :*: S1 ('MetaSel ('Just "conflictMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConflictMetadata)))) | |
newConflict :: Conflict Source #
Create a value of Conflict 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:mergeHunks:Conflict', conflict_mergeHunks - A list of hunks that contain the differences between files or lines
causing the conflict.
$sel:conflictMetadata:Conflict', conflict_conflictMetadata - Metadata about a conflict in a merge operation.
conflict_mergeHunks :: Lens' Conflict (Maybe [MergeHunk]) Source #
A list of hunks that contain the differences between files or lines causing the conflict.
conflict_conflictMetadata :: Lens' Conflict (Maybe ConflictMetadata) Source #
Metadata about a conflict in a merge operation.