Class: Aws::CodeCommit::Types::Commit
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::Commit
- Defined in:
- gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb
Overview
Returns information about a specific commit.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#additional_data ⇒ String
Any other data associated with the specified commit.
-
#author ⇒ Types::UserInfo
Information about the author of the specified commit.
-
#commit_id ⇒ String
The full SHA ID of the specified commit.
-
#committer ⇒ Types::UserInfo
Information about the person who committed the specified commit, also known as the committer.
-
#message ⇒ String
The commit message associated with the specified commit.
-
#parents ⇒ Array<String>
A list of parent commits for the specified commit.
-
#tree_id ⇒ String
Tree information for the specified commit.
Instance Attribute Details
#additional_data ⇒ String
Any other data associated with the specified commit.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1121 class Commit < Struct.new( :commit_id, :tree_id, :parents, :message, :author, :committer, :additional_data) SENSITIVE = [] include Aws::Structure end |
#author ⇒ Types::UserInfo
Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1121 class Commit < Struct.new( :commit_id, :tree_id, :parents, :message, :author, :committer, :additional_data) SENSITIVE = [] include Aws::Structure end |
#commit_id ⇒ String
The full SHA ID of the specified commit.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1121 class Commit < Struct.new( :commit_id, :tree_id, :parents, :message, :author, :committer, :additional_data) SENSITIVE = [] include Aws::Structure end |
#committer ⇒ Types::UserInfo
Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git.
For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1121 class Commit < Struct.new( :commit_id, :tree_id, :parents, :message, :author, :committer, :additional_data) SENSITIVE = [] include Aws::Structure end |
#message ⇒ String
The commit message associated with the specified commit.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1121 class Commit < Struct.new( :commit_id, :tree_id, :parents, :message, :author, :committer, :additional_data) SENSITIVE = [] include Aws::Structure end |
#parents ⇒ Array<String>
A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1121 class Commit < Struct.new( :commit_id, :tree_id, :parents, :message, :author, :committer, :additional_data) SENSITIVE = [] include Aws::Structure end |
#tree_id ⇒ String
Tree information for the specified commit.
1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1121 class Commit < Struct.new( :commit_id, :tree_id, :parents, :message, :author, :committer, :additional_data) SENSITIVE = [] include Aws::Structure end |