Safe Haskell | None |
---|
The repo commits API as described on http://developer.github.com/v3/repos/commits/.
- commitsFor :: String -> String -> IO (Either Error [Commit])
- commit :: String -> String -> String -> IO (Either Error Commit)
- commentsFor :: String -> String -> IO (Either Error [Comment])
- commitCommentsFor :: String -> String -> String -> IO (Either Error [Comment])
- commitCommentFor :: String -> String -> String -> IO (Either Error Comment)
- diff :: String -> String -> String -> String -> IO (Either Error Diff)
- module Github.Data
Documentation
commitsFor :: String -> String -> IO (Either Error [Commit])Source
The commit history for a repo.
commitsFor "mike-burns" "github"
commit :: String -> String -> String -> IO (Either Error Commit)Source
Details on a specific SHA1 for a repo.
commit "mike-burns" "github" "9d1a9a361266c3c890b1108ad2fdf52f824b1b81"
commentsFor :: String -> String -> IO (Either Error [Comment])Source
All the comments on a Github repo.
commentsFor "thoughtbot" "paperclip"
commitCommentsFor :: String -> String -> String -> IO (Either Error [Comment])Source
Just the comments on a specific SHA for a given Github repo.
commitCommentsFor "thoughtbot" "paperclip" "41f685f6e01396936bb8cd98e7cca517e2c7d96b"
commitCommentFor :: String -> String -> String -> IO (Either Error Comment)Source
A comment, by its ID, relative to the Github repo.
commitCommentFor "thoughtbot" "paperclip" "669575"
diff :: String -> String -> String -> String -> IO (Either Error Diff)Source
The diff between two treeishes on a repo.
diff "thoughtbot" "paperclip" "41f685f6e01396936bb8cd98e7cca517e2c7d96b" "HEAD"
module Github.Data