Safe Haskell | Safe-Inferred |
---|---|
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
- deleteReferenceR :: Name Owner -> Name Repo -> Name GitReference -> GenRequest 'MtUnit 'RW ()
- 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
deleteReferenceR :: Name Owner -> Name Repo -> Name GitReference -> GenRequest 'MtUnit 'RW () Source #
Delete a reference. See https://developer.github.com/v3/git/refs/#delete-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