gitlab-haskell-0.1.7: A Haskell library for the GitLab web API

Copyright(c) Rob Stewart Heriot-Watt University 2019
LicenseBSD3
Maintainerrobstewart57@gmail.com
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

GitLab.API.Commits

Description

 
Synopsis

Documentation

projectCommits Source #

Arguments

:: MonadIO m 
=> Project

the project

-> GitLab m [Commit] 

returns all commits for a project.

projectCommits' Source #

Arguments

:: MonadIO m 
=> Int

project ID

-> GitLab m (Either Status [Commit]) 

returns all commits for a project given its project ID.

commitDetails Source #

Arguments

:: MonadIO m 
=> Project

the project

-> Text

the commit hash

-> GitLab m (Maybe Commit) 

returns a commit for the given project and commit hash, if such a commit exists.

commitDetails' Source #

Arguments

:: MonadIO m 
=> Int

project ID

-> Text

the commit hash

-> GitLab m (Either Status (Maybe Commit)) 

returns a commit for the given project ID and commit hash, if such a commit exists.