package gitlab-jsoo
Module Project.BranchSource
Source
val branches :
?token:Token.t ->
project_id:int ->
?search:string ->
unit ->
Gitlab_t.branch_full Stream.tbranches ?token ~project_id lists repository branches from a project, sorted by name alphabetically. Supply a token to access private projects.
Source
val branch :
?token:Token.t ->
project_id:int ->
branch:string ->
unit ->
Gitlab_t.branch_full Response.t Monad.tbranch ?token ~name gets a single project repository branch. Supply a token to access private projects.
Source
val create :
token:Token.t ->
project_id:int ->
branch:string ->
ref:string ->
unit ->
Gitlab_t.branch_full Response.t Monad.tcreate ~token ~branch ~ref Create a new branch in the repository.
Source
val delete :
token:Token.t ->
project_id:int ->
branch:string ->
unit ->
unit Response.t Monad.tdelete ~token ~branch Delete a branch in the repository.
delete ~token ~branch Delete a branch in the repository.