You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeCommit::Types::ReplaceContentEntry

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ReplaceContentEntry as input to an Aws::Client method, you can use a vanilla Hash:

{
  file_path: "Path", # required
  replacement_type: "KEEP_BASE", # required, accepts KEEP_BASE, KEEP_SOURCE, KEEP_DESTINATION, USE_NEW_CONTENT
  content: "data",
  file_mode: "EXECUTABLE", # accepts EXECUTABLE, NORMAL, SYMLINK
}

Information about a replacement content entry in the conflict of a merge or pull request operation.

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.

Returns:

  • (String)

    The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.

#file_modeString

The file mode to apply during conflict resoltion.

Possible values:

  • EXECUTABLE
  • NORMAL
  • SYMLINK

Returns:

  • (String)

    The file mode to apply during conflict resoltion.

#file_pathString

The path of the conflicting file.

Returns:

  • (String)

    The path of the conflicting file.

#replacement_typeString

The replacement type to use when determining how to resolve the conflict.

Possible values:

  • KEEP_BASE
  • KEEP_SOURCE
  • KEEP_DESTINATION
  • USE_NEW_CONTENT

Returns:

  • (String)

    The replacement type to use when determining how to resolve the conflict.