package current_gitlab

  1. Overview
  2. Docs

A Ref as an indirect way of referring to a commit.

type t = [
  1. | `Ref of string
  2. | `PR of int
]

Ref is either a regular git ref or a MergeRequest.

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"