Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Project.BranchSourceval 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.
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.
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.
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.