package b0

  1. Overview
  2. Docs
Software construction and deployment kit

Install

dune-project
 Dependency

Authors

Maintainers

Sources

b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0

doc/b0.std/B0_github/Issue/index.html

Module B0_github.IssueSource

Repository issues.

Issues

Sourcetype num = int

The type for issue numbers.

Sourcetype uri = string

The type for uris.

Sourcetype t

The type for issues.

Sourceval number : t -> num

number i is the issue's number.

Sourceval title : t -> string

title i is the issue's title.

Sourceval body : t -> string

body t is the issue's body.

Sourceval url : t -> string

url i is the issue's url.

pp is a formatter for issues.

Sourceval pp_short : t B0_std.Fmt.t

pp_short is a short formatter for issues.

Sourceval list : B0_http.Http_client.t -> Auth.t -> Repo.t -> (int * t list, string) result

list auth repo lists the issues for repository repo. The integer is the total number of issues.

Requests

Sourceval open' : B0_http.Http_client.t -> Auth.t -> Repo.t -> title:string -> body:string -> unit -> (num * uri, string) result

open' auth repo opens an issue on the repository repo with the given title and body.

Sourceval close : B0_http.Http_client.t -> Auth.t -> Repo.t -> num -> (num * uri, string) result

close auth repo n closes issues n on the repository repo

On This Page
  1. Issues
  2. Requests