package git

  1. Overview
  2. Docs
Git format and protocol in pure OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

git-3.2.0.tbz
sha256=2648d6a45263164936aeb4f61c1ffcb6078135626a317f400156ec62033c3893
sha512=fa19fe952331a50ad75b1a16193c46e3de2950c537e54b9e9d167b03502616bee10e36d8a114365645a8e4032b78a58d0567692106e9d6fb69f17b9964ebc3cb

doc/smart/Smart/Advertised_refs/index.html

Module Smart.Advertised_refs

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.