| Copyright | (c) Rob Stewart Heriot-Watt University 2019 |
|---|---|
| License | BSD3 |
| Maintainer | robstewart57@gmail.com |
| Stability | stable |
| Safe Haskell | None |
| Language | Haskell2010 |
GitLab.API.Repositories
Description
Synopsis
- repositories :: MonadIO m => Project -> GitLab m [Repository]
- repositories' :: MonadIO m => Int -> GitLab m [Repository]
- getFileArchive :: MonadIO m => Project -> ArchiveFormat -> FilePath -> GitLab m ()
- getFileArchive' :: MonadIO m => Int -> ArchiveFormat -> FilePath -> GitLab m ()
Documentation
Arguments
| :: MonadIO m | |
| => Project | the project |
| -> GitLab m [Repository] |
returns a list of repository files and directories in a project.
Arguments
| :: MonadIO m | |
| => Int | the project ID |
| -> GitLab m [Repository] |
returns a list of repository files and directories in a project given its project ID.
Arguments
| :: MonadIO m | |
| => Project | project |
| -> ArchiveFormat | file format |
| -> FilePath | file path to store the archive |
| -> GitLab m () |
get a file archive of the repository files. For example:
getFileArchive myProject TarGz "/tmp/myProject.tar.gz"
Arguments
| :: MonadIO m | |
| => Int | project ID |
| -> ArchiveFormat | file format |
| -> FilePath | file path to store the archive |
| -> GitLab m () |
get a file archive of the repository files using the project's ID. For example:
getFileArchive' 3453 Zip "/tmp/myProject.zip"