Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Commit = Commit' {}
- newCommit :: Commit
- commit_commitId :: Lens' Commit (Maybe Text)
- commit_committer :: Lens' Commit (Maybe UserInfo)
- commit_treeId :: Lens' Commit (Maybe Text)
- commit_additionalData :: Lens' Commit (Maybe Text)
- commit_parents :: Lens' Commit (Maybe [Text])
- commit_author :: Lens' Commit (Maybe UserInfo)
- commit_message :: Lens' Commit (Maybe Text)
Documentation
Returns information about a specific commit.
See: newCommit
smart constructor.
Commit' | |
|
Instances
Create a value of Commit
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:commitId:Commit'
, commit_commitId
- The full SHA ID of the specified commit.
$sel:committer:Commit'
, commit_committer
- 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.
$sel:treeId:Commit'
, commit_treeId
- Tree information for the specified commit.
$sel:additionalData:Commit'
, commit_additionalData
- Any other data associated with the specified commit.
$sel:parents:Commit'
, commit_parents
- A list of parent commits for the specified commit. Each parent commit ID
is the full commit ID.
$sel:author:Commit'
, commit_author
- 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.
$sel:message:Commit'
, commit_message
- The commit message associated with the specified commit.
commit_committer :: Lens' Commit (Maybe UserInfo) Source #
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.
commit_additionalData :: Lens' Commit (Maybe Text) Source #
Any other data associated with the specified commit.
commit_parents :: Lens' Commit (Maybe [Text]) Source #
A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.