package gitlab-unix
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Commit
operates on a repository's commits.
val commits :
?token:Token.t ->
project_id:int ->
?ref_name:string ->
?since:string ->
?until:string ->
?path:string ->
?all:bool ->
unit ->
Gitlab_t.commit Stream.t
commits ?token ~project_id ()
list all commits for a project.
val commit :
?token:Token.t ->
project_id:int ->
sha:string ->
?stats:bool ->
unit ->
Gitlab_t.commit Response.t Monad.t
commit ?token ~project_id ~sha
get a specified commit by the commit hash or name of a branch or tag.
See Get a single commit.
val comments :
?token:Token.t ->
project_id:int ->
sha:string ->
unit ->
Gitlab_t.commit_comment Stream.t
comments ?token ~project_id ~sha
get comments of a commit.
val comment :
?token:Token.t ->
project_id:int ->
sha:string ->
Gitlab_t.new_comment ->
unit ->
Gitlab_t.commit_commented Response.t Monad.t
comment ~token ~project_id ~sha ~new_comment
adds a comment to a commit.
val statuses :
?token:Token.t ->
project_id:int ->
sha:string ->
?ref_name:string ->
?stage:string ->
?name:string ->
?all:bool ->
unit ->
Gitlab_t.commit_status Stream.t
statuses ~token ~project_id ~sha
lists the statuses of a commit.
val status :
token:Token.t ->
project_id:int ->
sha:string ->
Gitlab_t.new_status ->
unit ->
Gitlab_t.commit_status Response.t Monad.t
status ~token ~project_id ~sha ~state
adds or updates the build status of a commit.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>