License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The repo commits API as described on http://developer.github.com/v3/repos/commits/.
Synopsis
- data CommitQueryOption
- commitsForR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector Commit)
- commitsWithOptionsForR :: Name Owner -> Name Repo -> FetchCount -> [CommitQueryOption] -> Request k (Vector Commit)
- commitR :: Name Owner -> Name Repo -> Name Commit -> Request k Commit
- diffR :: Name Owner -> Name Repo -> Name Commit -> Name Commit -> Request k Diff
- module GitHub.Data
Documentation
data CommitQueryOption Source #
The options for querying commits.
CommitQuerySha !Text | |
CommitQueryPath !Text | |
CommitQueryAuthor !Text | |
CommitQuerySince !UTCTime | |
CommitQueryUntil !UTCTime |
Instances
commitsForR :: 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 :: 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
commitR :: Name Owner -> Name Repo -> Name Commit -> Request k Commit Source #
Query a single commit. See https://developer.github.com/v3/repos/commits/#get-a-single-commit
diffR :: Name Owner -> Name Repo -> Name Commit -> Name Commit -> Request k Diff Source #
Compare two commits. See https://developer.github.com/v3/repos/commits/#compare-two-commits
module GitHub.Data