github-0.5.0: Access to the Github API, v3.

Safe HaskellNone

Github.GitData.References

Description

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

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"

namespacedReferences :: String -> String -> String -> IO (Either Error [GitReference])Source

Limited references by a namespace.

 namespacedReferences "thoughtbot" "paperclip" "tags"