License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
The API for dealing with git blobs from Github repos, as described in http://developer.github.com/v3/git/blobs/.
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 $ BasicAuth "github-username" "github-password") "thoughtbot" "paperclip" "bc5c51d1ece1ee45f94b056a0f5a1674d7e8cba9"
blobR :: Name Owner -> Name Repo -> Name Blob -> Request k Blob Source #
Query a blob. See https://developer.github.com/v3/git/blobs/#get-a-blob
module GitHub.Data