Skip to content

Variant of getFileArchive that returns a bytestring

Currently the getFileArchive function in GitLab.API.Repositories writes an archive of a repository to a file.

See reddit: https://www.reddit.com/r/haskell/comments/ex7rny/gitlabhaskell_a_haskell_library_for_the_gitlab_api/fgbcqj5/

The feature request is:

getFileArchiveBS :: MonadIO m => Project -> ArchiveFormat -> FilePath -> GitLab m ByteString

Which will be trivial to implement.