Safe Haskell | None |
---|---|
Language | Haskell98 |
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 :: String -> String -> String -> IO (Either Error GitReference)
- references :: String -> String -> IO (Either Error [GitReference])
- createReference :: GithubAuth -> String -> String -> NewGitReference -> IO (Either Error GitReference)
- namespacedReferences :: String -> String -> String -> IO (Either Error [GitReference])
- module Github.Data
Documentation
reference :: String -> String -> String -> IO (Either Error GitReference) Source
A single reference by the ref name.
reference "mike-burns" "github" "heads/master"
references :: String -> String -> IO (Either Error [GitReference]) Source
The history of references for a repo.
references "mike-burns" "github"
createReference :: GithubAuth -> String -> String -> NewGitReference -> IO (Either Error GitReference) Source
namespacedReferences :: String -> String -> String -> IO (Either Error [GitReference]) Source
Limited references by a namespace.
namespacedReferences "thoughtbot" "paperclip" "tags"
module Github.Data