current_gitlab

GitLab plugin for OCurrent
IN THIS PACKAGE
Module Current_gitlab . Api . Ref
type t = [
| `Ref of string
| `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"