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

Safe HaskellNone
LanguageHaskell2010

Github.GitData.Blobs

Description

The API for dealing with git blobs from Github repos, as described in http://developer.github.com/v3/git/blobs/.

Synopsis

Documentation

blob :: Name GithubOwner -> Name Repo -> Name Blob -> IO (Either Error Blob) Source

Get a blob by SHA1.

blob "thoughtbot" "paperclip" "bc5c51d1ece1ee45f94b056a0f5a1674d7e8cba9"

blob' :: Maybe GithubAuth -> Name GithubOwner -> Name Repo -> Name Blob -> IO (Either Error Blob) Source

Get a blob by SHA1.

blob' (Just ("github-username", "github-password")) "thoughtbot" "paperclip" "bc5c51d1ece1ee45f94b056a0f5a1674d7e8cba9"