Safe Haskell | None |
---|---|
Language | Haskell2010 |
GitHub.Endpoints.Repos.Commits
Description
The repo commits API as described on http://developer.github.com/v3/repos/commits/.
Synopsis
- data CommitQueryOption
- commitsForR :: forall (k :: RW). Name Owner -> Name Repo -> FetchCount -> Request k (Vector Commit)
- commitsWithOptionsForR :: forall (k :: RW). Name Owner -> Name Repo -> FetchCount -> [CommitQueryOption] -> Request k (Vector Commit)
- commitR :: forall (k :: RW). Name Owner -> Name Repo -> Name Commit -> Request k Commit
- diffR :: forall (k :: RW). Name Owner -> Name Repo -> Name Commit -> Name Commit -> Request k Diff
- module GitHub.Data
Documentation
data CommitQueryOption Source #
The options for querying commits.
Constructors
CommitQuerySha !Text | |
CommitQueryPath !Text | |
CommitQueryAuthor !Text | |
CommitQuerySince !UTCTime | |
CommitQueryUntil !UTCTime |
Instances
commitsForR :: forall (k :: RW). Name Owner -> Name Repo -> FetchCount -> Request k (Vector Commit) Source #
List commits on a repository. See https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
commitsWithOptionsForR :: forall (k :: RW). Name Owner -> Name Repo -> FetchCount -> [CommitQueryOption] -> Request k (Vector Commit) Source #
List commits on a repository. See https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
diffR :: forall (k :: RW). Name Owner -> Name Repo -> Name Commit -> Name Commit -> Request k Diff Source #
module GitHub.Data