License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
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
- tree :: Name Owner -> Name Repo -> Name Tree -> IO (Either Error Tree)
- tree' :: Maybe Auth -> Name Owner -> Name Repo -> Name Tree -> IO (Either Error Tree)
- treeR :: Name Owner -> Name Repo -> Name Tree -> Request k Tree
- nestedTree :: Name Owner -> Name Repo -> Name Tree -> IO (Either Error Tree)
- nestedTree' :: Maybe Auth -> Name Owner -> Name Repo -> Name Tree -> IO (Either Error Tree)
- nestedTreeR :: Name Owner -> Name Repo -> Name Tree -> Request k Tree
- module GitHub.Data
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"
treeR :: Name Owner -> Name Repo -> Name Tree -> Request k Tree Source #
Query a Tree. See https://developer.github.com/v3/git/trees/#get-a-tree
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"
nestedTreeR :: Name Owner -> Name Repo -> Name Tree -> Request k Tree Source #
Query a Tree Recursively. See https://developer.github.com/v3/git/trees/#get-a-tree-recursively
module GitHub.Data