Skip to content

ConflictMetadata

Source code in docs_src/capo_codecommit/types/conflict_metadata.py
class ConflictMetadata(TypedDict, closed=True):
    file_path: NotRequired["capo_codecommit.types.path.Path"]
    """<p>The path of the file that contains conflicts.</p>"""
    file_sizes: NotRequired["capo_codecommit.types.file_sizes.FileSizes"]
    """<p>The file sizes of the file in the source, destination, and base of the merge.</p>"""
    file_modes: NotRequired["capo_codecommit.types.file_modes.FileModes"]
    """<p>The file modes of the file in the source, destination, and base of the merge.</p>"""
    object_types: NotRequired["capo_codecommit.types.object_types.ObjectTypes"]
    """<p>Information about any object type conflicts in a merge operation.</p>"""
    number_of_conflicts: "capo_codecommit.types.number_of_conflicts.NumberOfConflicts"
    """<p>The number of conflicts, including both hunk conflicts and metadata conflicts.</p>"""
    is_binary_file: NotRequired["capo_codecommit.types.is_binary_file.IsBinaryFile"]
    """<p>A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.</p>"""
    content_conflict: "capo_codecommit.types.is_content_conflict.IsContentConflict"
    """<p>A boolean value indicating whether there are conflicts in the content of a file.</p>"""
    file_mode_conflict: "capo_codecommit.types.is_file_mode_conflict.IsFileModeConflict"
    """<p>A boolean value indicating whether there are conflicts in the file mode of a file.</p>"""
    object_type_conflict: (
        "capo_codecommit.types.is_object_type_conflict.IsObjectTypeConflict"
    )
    """<p>A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.</p>"""
    merge_operations: NotRequired[
        "capo_codecommit.types.merge_operations.MergeOperations"
    ]
    """<p>Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.</p>"""

content_conflict instance-attribute

content_conflict: IsContentConflict

A boolean value indicating whether there are conflicts in the content of a file.

file_mode_conflict instance-attribute

file_mode_conflict: IsFileModeConflict

A boolean value indicating whether there are conflicts in the file mode of a file.

file_modes instance-attribute

file_modes: NotRequired[FileModes]

The file modes of the file in the source, destination, and base of the merge.

file_path instance-attribute

file_path: NotRequired[Path]

The path of the file that contains conflicts.

file_sizes instance-attribute

file_sizes: NotRequired[FileSizes]

The file sizes of the file in the source, destination, and base of the merge.

is_binary_file instance-attribute

is_binary_file: NotRequired[IsBinaryFile]

A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.

merge_operations instance-attribute

merge_operations: NotRequired[MergeOperations]

Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.

number_of_conflicts instance-attribute

number_of_conflicts: NumberOfConflicts

The number of conflicts, including both hunk conflicts and metadata conflicts.

object_type_conflict instance-attribute

object_type_conflict: IsObjectTypeConflict

A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.

object_types instance-attribute

object_types: NotRequired[ObjectTypes]

Information about any object type conflicts in a merge operation.