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

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

GitHub.Endpoints.GitData.Trees

Description

The underlying tree of SHA1s and files that make up a git repo. The API is described on http://developer.github.com/v3/git/trees/.

Synopsis

Documentation

tree :: Name Owner -> Name Repo -> Name Tree -> IO (Either Error Tree) Source #

A tree for a SHA1.

tree "thoughtbot" "paperclip" "fe114451f7d066d367a1646ca7ac10e689b46844"

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

A tree for a SHA1.

tree (Just ("github-username", "github-password")) "thoughtbot" "paperclip" "fe114451f7d066d367a1646ca7ac10e689b46844"

nestedTree :: Name Owner -> Name Repo -> Name Tree -> IO (Either Error Tree) Source #

A recursively-nested tree for a SHA1.

nestedTree "thoughtbot" "paperclip" "fe114451f7d066d367a1646ca7ac10e689b46844"

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

A recursively-nested tree for a SHA1.

nestedTree' (Just ("github-username", "github-password")) "thoughtbot" "paperclip" "fe114451f7d066d367a1646ca7ac10e689b46844"