gitlab-haskell-0.3.0.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 (Response ByteString) [Commit]) 

returns all commits for a project given its project ID.

branchCommits Source #

Arguments

:: Project

project

-> Text

branch name

-> GitLab [Commit] 

returns all commits of a branch from a project given the branch name.

branchCommits' Source #

Arguments

:: Int

project ID

-> Text

branch name

-> GitLab (Either (Response ByteString) [Commit]) 

returns all commits of a branch from a project given its project ID and the branch name.

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 (Response ByteString) (Maybe Commit)) 

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