Module Api.Ref

type pr_info = {
  1. id : int;
  2. base : string;
  3. title : string;
  4. labels : string list;
  5. 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"