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 |
Synopsis
- data ConflictMetadata = ConflictMetadata' {
- numberOfConflicts :: Maybe Int
- contentConflict :: Maybe Bool
- fileSizes :: Maybe FileSizes
- filePath :: Maybe Text
- isBinaryFile :: Maybe IsBinaryFile
- fileModeConflict :: Maybe Bool
- objectTypeConflict :: Maybe Bool
- mergeOperations :: Maybe MergeOperations
- objectTypes :: Maybe ObjectTypes
- fileModes :: Maybe FileModes
- newConflictMetadata :: ConflictMetadata
- conflictMetadata_numberOfConflicts :: Lens' ConflictMetadata (Maybe Int)
- conflictMetadata_contentConflict :: Lens' ConflictMetadata (Maybe Bool)
- conflictMetadata_fileSizes :: Lens' ConflictMetadata (Maybe FileSizes)
- conflictMetadata_filePath :: Lens' ConflictMetadata (Maybe Text)
- conflictMetadata_isBinaryFile :: Lens' ConflictMetadata (Maybe IsBinaryFile)
- conflictMetadata_fileModeConflict :: Lens' ConflictMetadata (Maybe Bool)
- conflictMetadata_objectTypeConflict :: Lens' ConflictMetadata (Maybe Bool)
- conflictMetadata_mergeOperations :: Lens' ConflictMetadata (Maybe MergeOperations)
- conflictMetadata_objectTypes :: Lens' ConflictMetadata (Maybe ObjectTypes)
- conflictMetadata_fileModes :: Lens' ConflictMetadata (Maybe FileModes)
Documentation
data ConflictMetadata Source #
Information about the metadata for a conflict in a merge operation.
See: newConflictMetadata
smart constructor.
ConflictMetadata' | |
|
Instances
newConflictMetadata :: ConflictMetadata Source #
Create a value of ConflictMetadata
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:numberOfConflicts:ConflictMetadata'
, conflictMetadata_numberOfConflicts
- The number of conflicts, including both hunk conflicts and metadata
conflicts.
$sel:contentConflict:ConflictMetadata'
, conflictMetadata_contentConflict
- A boolean value indicating whether there are conflicts in the content of
a file.
$sel:fileSizes:ConflictMetadata'
, conflictMetadata_fileSizes
- The file sizes of the file in the source, destination, and base of the
merge.
$sel:filePath:ConflictMetadata'
, conflictMetadata_filePath
- The path of the file that contains conflicts.
$sel:isBinaryFile:ConflictMetadata'
, conflictMetadata_isBinaryFile
- A boolean value (true or false) indicating whether the file is binary or
textual in the source, destination, and base of the merge.
$sel:fileModeConflict:ConflictMetadata'
, conflictMetadata_fileModeConflict
- A boolean value indicating whether there are conflicts in the file mode
of a file.
$sel:objectTypeConflict:ConflictMetadata'
, conflictMetadata_objectTypeConflict
- A boolean value (true or false) indicating whether there are conflicts
between the branches in the object type of a file, folder, or submodule.
$sel:mergeOperations:ConflictMetadata'
, conflictMetadata_mergeOperations
- Whether an add, modify, or delete operation caused the conflict between
the source and destination of the merge.
$sel:objectTypes:ConflictMetadata'
, conflictMetadata_objectTypes
- Information about any object type conflicts in a merge operation.
$sel:fileModes:ConflictMetadata'
, conflictMetadata_fileModes
- The file modes of the file in the source, destination, and base of the
merge.
conflictMetadata_numberOfConflicts :: Lens' ConflictMetadata (Maybe Int) Source #
The number of conflicts, including both hunk conflicts and metadata conflicts.
conflictMetadata_contentConflict :: Lens' ConflictMetadata (Maybe Bool) Source #
A boolean value indicating whether there are conflicts in the content of a file.
conflictMetadata_fileSizes :: Lens' ConflictMetadata (Maybe FileSizes) Source #
The file sizes of the file in the source, destination, and base of the merge.
conflictMetadata_filePath :: Lens' ConflictMetadata (Maybe Text) Source #
The path of the file that contains conflicts.
conflictMetadata_isBinaryFile :: Lens' ConflictMetadata (Maybe IsBinaryFile) Source #
A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.
conflictMetadata_fileModeConflict :: Lens' ConflictMetadata (Maybe Bool) Source #
A boolean value indicating whether there are conflicts in the file mode of a file.
conflictMetadata_objectTypeConflict :: Lens' ConflictMetadata (Maybe Bool) Source #
A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.
conflictMetadata_mergeOperations :: Lens' ConflictMetadata (Maybe MergeOperations) Source #
Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.
conflictMetadata_objectTypes :: Lens' ConflictMetadata (Maybe ObjectTypes) Source #
Information about any object type conflicts in a merge operation.
conflictMetadata_fileModes :: Lens' ConflictMetadata (Maybe FileModes) Source #
The file modes of the file in the source, destination, and base of the merge.