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/.
- reference :: Name GithubOwner -> Name Repo -> Name GitReference -> IO (Either Error GitReference)
- reference' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> Name GitReference -> IO (Either Error GitReference)
- referenceR :: Name GithubOwner -> Name Repo -> Name GitReference -> GithubRequest k GitReference
- references :: Name GithubOwner -> Name Repo -> IO (Either Error (Vector GitReference))
- references' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> IO (Either Error (Vector GitReference))
- referencesR :: Name GithubOwner -> Name Repo -> Maybe Count -> GithubRequest k (Vector GitReference)
- createReference :: GithubAuth -> Name GithubOwner -> Name Repo -> NewGitReference -> IO (Either Error GitReference)
- createReferenceR :: Name GithubOwner -> Name Repo -> NewGitReference -> GithubRequest True GitReference
- namespacedReferences :: Name GithubOwner -> Name Repo -> String -> IO (Either Error [GitReference])
- module Github.Data
Documentation
reference :: Name GithubOwner -> Name Repo -> Name GitReference -> IO (Either Error GitReference) Source
A single reference by the ref name.
reference "mike-burns" "github" "heads/master"
reference' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> Name GitReference -> IO (Either Error GitReference) Source
A single reference by the ref name.
reference' (Just ("github-username", "github-password")) "mike-burns" "github" "heads/master"
referenceR :: Name GithubOwner -> Name Repo -> Name GitReference -> GithubRequest k GitReference Source
Get a reference. See https://developer.github.com/v3/git/refs/#get-a-reference
references :: Name GithubOwner -> Name Repo -> IO (Either Error (Vector GitReference)) Source
The history of references for a repo.
references "mike-burns" "github"
references' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> IO (Either Error (Vector GitReference)) Source
The history of references for a repo.
references "mike-burns" "github"
referencesR :: Name GithubOwner -> Name Repo -> Maybe Count -> GithubRequest k (Vector GitReference) Source
Get all References. See https://developer.github.com/v3/git/refs/#get-all-references
createReference :: GithubAuth -> Name GithubOwner -> Name Repo -> NewGitReference -> IO (Either Error GitReference) Source
Create a reference.
createReferenceR :: Name GithubOwner -> Name Repo -> NewGitReference -> GithubRequest True GitReference Source
Create a reference. See https://developer.github.com/v3/git/refs/#create-a-reference
namespacedReferences :: Name GithubOwner -> Name Repo -> String -> IO (Either Error [GitReference]) Source
Limited references by a namespace.
namespacedReferences "thoughtbot" "paperclip" "tags"
module Github.Data