gitlab-haskell-0.2.1: 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

:: Project

the project

-> GitLab [Commit] 

returns all commits for a project.

projectCommits' Source #

Arguments

:: Int

project ID

-> GitLab (Either Status [Commit]) 

returns all commits for a project given its project ID.

commitDetails Source #

Arguments

:: Project

the project

-> Text

the commit hash

-> GitLab (Maybe Commit) 

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

commitDetails' Source #

Arguments

:: Int

project ID

-> Text

the commit hash

-> GitLab (Either Status (Maybe Commit)) 

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