Module B0_github.Issue
Repository issues.
Issues
val title : t -> string
title i
is the issue's title.
val body : t -> string
body t
is the issue's body.
val url : t -> string
url i
is the issue's url.
val pp : t B0_std.Fmt.t
pp
is a formatter for issues.
val pp_short : t B0_std.Fmt.t
pp_short
is a short formatter for issues.
val list : B0_web.Http.t -> auth -> Repo.t -> (int * t list, string) Stdlib.result
list auth repo
lists the issues for repositoryrepo
. The integer is the total number of issues.
Requests
val create : B0_web.Http.t -> auth -> Repo.t -> title:string -> body:string -> unit -> (num * uri, string) Stdlib.result
create auth repo
opens an issue on the repositoryrepo
with the giventitle
andbody
.
val close : B0_web.Http.t -> auth -> Repo.t -> num -> (num * uri, string) Stdlib.result
close auth repo n
closes issuesn
on the repositoryrepo