package current_github

  1. Overview
  2. Docs
type pr_info = {
  1. id : int;
  2. base : string;
  3. title : string;
  4. bodyHTML : string;
}
type t = [
  1. | `Ref of string
  2. | `PR of pr_info
]
type id = [
  1. | `Ref of string
  2. | `PR of int
]
val pp : t Fmt.t
val compare : t -> t -> int
val to_git : t -> string

to_git t is the Git-format string of the ref, e.g."refs/pull/%d/head"

OCaml

Innovation. Community. Security.