Class: Aws::CodeCommit::Types::Location

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codecommit/types.rb

Overview

Returns information about the location of a change or comment in the comparison between two commits or a pull request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#file_pathString

The name of the file being compared, including its extension and subdirectory, if any.

Returns:

  • (String)


4478
4479
4480
4481
4482
4483
4484
# File 'lib/aws-sdk-codecommit/types.rb', line 4478

class Location < Struct.new(
  :file_path,
  :file_position,
  :relative_file_version)
  SENSITIVE = []
  include Aws::Structure
end

#file_positionInteger

The position of a change in a compared file, in line number format.

Returns:

  • (Integer)


4478
4479
4480
4481
4482
4483
4484
# File 'lib/aws-sdk-codecommit/types.rb', line 4478

class Location < Struct.new(
  :file_path,
  :file_position,
  :relative_file_version)
  SENSITIVE = []
  include Aws::Structure
end

#relative_file_versionString

In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.

Returns:

  • (String)


4478
4479
4480
4481
4482
4483
4484
# File 'lib/aws-sdk-codecommit/types.rb', line 4478

class Location < Struct.new(
  :file_path,
  :file_position,
  :relative_file_version)
  SENSITIVE = []
  include Aws::Structure
end