Safe Haskell | None |
---|---|
Language | Haskell98 |
The repo collaborators API as described on http://developer.github.com/v3/repos/collaborators/.
- collaboratorsOn :: String -> String -> IO (Either Error [GithubOwner])
- isCollaboratorOn :: String -> String -> String -> IO (Either Error Bool)
- module Github.Data
Documentation
collaboratorsOn :: String -> String -> IO (Either Error [GithubOwner]) Source
All the users who have collaborated on a repo.
collaboratorsOn "thoughtbot" "paperclip"
isCollaboratorOn :: String -> String -> String -> IO (Either Error Bool) Source
Whether the user is collaborating on a repo. Takes the user in question, the user who owns the repo, and the repo name.
isCollaboratorOn "mike-burns" "thoughtbot" "paperclip" isCollaboratorOn "johnson" "thoughtbot" "paperclip"
module Github.Data