github-0.14.1: Access to the GitHub API, v3.

LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Endpoints.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 Owner -> Name Repo -> Name Blob -> IO (Either Error Blob) Source

Query a blob by SHA1.

blob "thoughtbot" "paperclip" "bc5c51d1ece1ee45f94b056a0f5a1674d7e8cba9"

blob' :: Maybe Auth -> Name Owner -> Name Repo -> Name Blob -> IO (Either Error Blob) Source

Query a blob by SHA1.

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