package gitlab
-
gitlab
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val branches :
?token:Token.t ->
project_id:int ->
?search:string ->
unit ->
Gitlab_t.branch_full Stream.t
branches ?token ~project_id
lists repository branches from a project, sorted by name alphabetically. Supply a token
to access private projects.
val branch :
?token:Token.t ->
project_id:int ->
branch:string ->
unit ->
Gitlab_t.branch_full Response.t Monad.t
branch ?token ~name
gets a single project repository branch. Supply a token
to access private projects.
val create :
token:Token.t ->
project_id:int ->
branch:string ->
ref:string ->
unit ->
Gitlab_t.branch_full Response.t Monad.t
create ~token ~branch ~ref
Create a new branch in the repository.
val delete :
token:Token.t ->
project_id:int ->
branch:string ->
unit ->
unit Response.t Monad.t
delete ~token ~branch
Delete a branch in the repository.
val delete_merged :
token:Token.t ->
project_id:int ->
unit ->
unit Response.t Monad.t
delete ~token ~branch
Delete a branch in the repository.