Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Github.LabelThe Label module exposes Github's labels API.
val for_repo :
?token:Token.t ->
user:string ->
repo:string ->
unit ->
Github_t.label Stream.tfor_repo ~user ~repo () is a stream of all labels in repo user/repo.
val get :
?token:Token.t ->
user:string ->
repo:string ->
name:string ->
unit ->
Github_t.label Response.t Monad.tget ~user ~repo ~name () is the label name in the repo user/repo.
val create :
?token:Token.t ->
user:string ->
repo:string ->
label:Github_t.new_label ->
unit ->
Github_t.label Response.t Monad.tcreate ~user ~repo ~label () is the newly created label label in the repo user/repo.
val update :
?token:Token.t ->
user:string ->
repo:string ->
name:string ->
label:Github_t.new_label ->
unit ->
Github_t.label Response.t Monad.tupdate ~user ~repo ~name () is the newly updated label name with properties label in the repo user/repo.
val delete :
?token:Token.t ->
user:string ->
repo:string ->
name:string ->
unit ->
unit Response.t Monad.tdelete ~user ~repo ~name () activates after the label name in the repo user/repo has been removed.