License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The underlying git references on a Github repo, exposed for the world to see. The git internals documentation will also prove handy for understanding these. API documentation at http://developer.github.com/v3/git/refs/.
Synopsis
- referenceR :: Name Owner -> Name Repo -> Name GitReference -> Request k GitReference
- referencesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector GitReference)
- createReferenceR :: Name Owner -> Name Repo -> NewGitReference -> Request RW GitReference
- namespacedReferencesR :: Name Owner -> Name Repo -> Text -> Request k [GitReference]
- module GitHub.Data
Documentation
referenceR :: Name Owner -> Name Repo -> Name GitReference -> Request k GitReference Source #
A single reference -- | Query a reference. See https://developer.github.com/v3/git/refs/#get-a-reference
referencesR :: Name Owner -> Name Repo -> FetchCount -> Request k (Vector GitReference) Source #
Query all References. See https://developer.github.com/v3/git/refs/#get-all-references
createReferenceR :: Name Owner -> Name Repo -> NewGitReference -> Request RW GitReference Source #
Create a reference. See https://developer.github.com/v3/git/refs/#create-a-reference
namespacedReferencesR :: Name Owner -> Name Repo -> Text -> Request k [GitReference] Source #
Query namespaced references. See https://developer.github.com/v3/git/refs/#get-all-references
module GitHub.Data