You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeCommit::Types::Location
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::Location
- Defined in:
- (unknown)
Overview
When passing Location as input to an Aws::Client method, you can use a vanilla Hash:
{
file_path: "Path",
file_position: 1,
relative_file_version: "BEFORE", # accepts BEFORE, AFTER
}
Returns information about the location of a change or comment in the comparison between two commits or a pull request.
Returned by:
Instance Attribute Summary collapse
-
#file_path ⇒ String
The name of the file being compared, including its extension and subdirectory, if any.
-
#file_position ⇒ Integer
The position of a change in a compared file, in line number format.
-
#relative_file_version ⇒ String
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
Instance Attribute Details
#file_path ⇒ String
The name of the file being compared, including its extension and subdirectory, if any.
#file_position ⇒ Integer
The position of a change in a compared file, in line number format.
#relative_file_version ⇒ String
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.
Possible values:
- BEFORE
- AFTER