libZSservicesZSamazonka-codecommitZSamazonka-codecommit
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeCommit.Types.Conflict

Description

 
Synopsis

Documentation

data Conflict Source #

Information about conflicts in a merge operation.

See: newConflict smart constructor.

Constructors

Conflict' 

Fields

Instances

Instances details
Eq Conflict Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Conflict

Read Conflict Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Conflict

Show Conflict Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Conflict

Generic Conflict Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Conflict

Associated Types

type Rep Conflict :: Type -> Type #

Methods

from :: Conflict -> Rep Conflict x #

to :: Rep Conflict x -> Conflict #

NFData Conflict Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Conflict

Methods

rnf :: Conflict -> () #

Hashable Conflict Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Conflict

Methods

hashWithSalt :: Int -> Conflict -> Int #

hash :: Conflict -> Int #

FromJSON Conflict Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Conflict

type Rep Conflict Source # 
Instance details

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.