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
- Struct
- Aws::CodeCommit::Types::ReplaceContentEntry
- Defined in:
- (unknown)
Overview
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
-
#content ⇒ String
The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
-
#file_mode ⇒ String
The file mode to apply during conflict resoltion.
-
#file_path ⇒ String
The path of the conflicting file.
-
#replacement_type ⇒ String
The replacement type to use when determining how to resolve the conflict.
Instance Attribute Details
#content ⇒ String
The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.
#file_mode ⇒ String
The file mode to apply during conflict resoltion.
Possible values:
- EXECUTABLE
- NORMAL
- SYMLINK
#file_path ⇒ String
The path of the conflicting file.
#replacement_type ⇒ String
The replacement type to use when determining how to resolve the conflict.
Possible values:
- KEEP_BASE
- KEEP_SOURCE
- KEEP_DESTINATION
- USE_NEW_CONTENT