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

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

GitHub.Endpoints.Repos.Forks

Description

Hot forking action, as described at http://developer.github.com/v3/repos/forks/.

Synopsis

Documentation

forksFor :: Name Owner -> Name Repo -> IO (Either Error (Vector Repo)) Source #

All the repos that are forked off the given repo.

forksFor "thoughtbot" "paperclip"

forksFor' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector Repo)) Source #

All the repos that are forked off the given repo. | With authentication

forksFor' (Just $ BasicAuth "github-username" "github-password") "thoughtbot" "paperclip"