github-0.14.0: Access to the Github API, v3.

Safe HaskellNone
LanguageHaskell2010

Github.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 GithubOwner -> Name Repo -> Name Tree -> IO (Either Error Tree) Source

A tree for a SHA1.

tree "thoughtbot" "paperclip" "fe114451f7d066d367a1646ca7ac10e689b46844"

tree' :: Maybe GithubAuth -> Name GithubOwner -> 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 GithubOwner -> Name Repo -> Name Tree -> IO (Either Error Tree) Source

A recursively-nested tree for a SHA1.

nestedTree "thoughtbot" "paperclip" "fe114451f7d066d367a1646ca7ac10e689b46844"

nestedTree' :: Maybe GithubAuth -> Name GithubOwner -> 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"