Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Revision = Revision' {}
- newRevision :: Text -> Text -> Text -> RepositoryProvider -> Text -> Revision
- revision_branch :: Lens' Revision Text
- revision_directory :: Lens' Revision Text
- revision_repositoryName :: Lens' Revision Text
- revision_repositoryProvider :: Lens' Revision RepositoryProvider
- revision_sha :: Lens' Revision Text
Documentation
Revision detail data for a commit and push that activates a sync attempt
See: newRevision
smart constructor.
Revision' | |
|
Instances
Create a value of Revision
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:branch:Revision'
, revision_branch
- The repository branch.
$sel:directory:Revision'
, revision_directory
- The repository directory changed by a commit and push that activated the
sync attempt.
$sel:repositoryName:Revision'
, revision_repositoryName
- The repository name.
$sel:repositoryProvider:Revision'
, revision_repositoryProvider
- The repository provider.
$sel:sha:Revision'
, revision_sha
- The secure hash algorithm (SHA) hash for the revision.
revision_directory :: Lens' Revision Text Source #
The repository directory changed by a commit and push that activated the sync attempt.
revision_repositoryProvider :: Lens' Revision RepositoryProvider Source #
The repository provider.