datakit-github

Abstraction of the GitHub API, suitable for DataKit clients
Library datakit-github
type t =
| Repo of Repo.state * Repo.t
| PR of PR.t
| Status of Status.t
| Ref of Ref.event
| Other of Repo.t * string

The type for event values.

val pp : t Fmt.t

pp is the pretty-printer for event values.

val of_repo : Repo.state -> Repo.t -> t
val of_pr : PR.t -> t
val of_status : Status.t -> t
val of_ref : Ref.event -> t
val of_other : Repo.t -> string -> t
val repo : t -> Repo.t

repo t is t's repository.