package git

  1. Overview
  2. Docs
type ('uid, 'reference) t
val pp : (string, string) t Fmt.t
val head : ('a, string) t -> 'a option
val capabilities : ('uid, 'reference) t -> Capability.t list
val refs : ('uid, 'reference) t -> ('uid * 'reference * bool) list
val reference : equal:('ref -> 'ref -> bool) -> ?peeled:bool -> 'ref -> ('uid, 'ref) t -> 'uid option
val references : equal:('ref -> 'ref -> bool) -> ?peeled:bool -> 'ref list -> ('uid, 'ref) t -> 'uid list
val map : fuid:('uid0 -> 'uid1) -> fref:('ref0 -> 'ref1) -> ('uid0, 'ref0) t -> ('uid1, 'ref1) t
val v1 : ?shallows:'uid list -> ?capabilities:Capability.t list -> ('uid * 'ref * bool) list -> ('uid, 'ref) t
val equal : uid:('uid -> 'uid -> bool) -> reference:('ref -> 'ref -> bool) -> ('uid, 'ref) t -> ('uid, 'ref) t -> bool
OCaml

Innovation. Community. Security.