Make.StatusSourceThe Status module provides the functionality of GitHub's status API.
val for_ref :
?token:Token.t ->
user:string ->
repo:string ->
git_ref:string ->
unit ->
Github_t.status Stream.tfor_sha ~user ~repo ~git_ref () is a stream of statuses attached to the SHA, branch name, or tag name git_ref in repo user/repo.
val create :
?token:Token.t ->
user:string ->
repo:string ->
sha:string ->
status:Github_t.new_status ->
unit ->
Github_t.status Response.t Monad.tcreate ~user ~repo ~sha ~status () is a newly created status on SHA sha in repo user/repo as described by status.
val get :
?token:Token.t ->
user:string ->
repo:string ->
sha:string ->
unit ->
Github_t.combined_status Response.t Monad.tget ~user ~repo ~sha () is the combined status of the ref sha in the repo user/repo.