Copyright | (c) Rob Stewart Heriot-Watt University 2019 |
---|---|
License | BSD3 |
Maintainer | [email protected] |
Stability | stable |
Safe Haskell | None |
Language | Haskell2010 |
GitLab.API.RepositoryFiles
Description
Synopsis
- repositoryFiles :: Project -> Text -> Text -> GitLab (Either (Response ByteString) (Maybe RepositoryFile))
- repositoryFiles' :: Int -> Text -> Text -> GitLab (Either (Response ByteString) (Maybe RepositoryFile))
- repositoryFileBlob :: Int -> Text -> GitLab (Either (Response ByteString) (Maybe String))
Documentation
Arguments
:: Project | the project |
-> Text | the file path |
-> Text | name of the branch, tag or commit |
-> GitLab (Either (Response ByteString) (Maybe RepositoryFile)) |
Get a list of repository files and directories in a project.
Arguments
:: Int | project ID |
-> Text | the file path |
-> Text | name of the branch, tag or commit |
-> GitLab (Either (Response ByteString) (Maybe RepositoryFile)) |
Get a list of repository files and directories in a project given the project's ID.