Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
The type for reference names. "heads/master"
is represented as "heads";"master"
.
The type for Git references.
v head name
is a fresh t
with the head
commit and name
. name
should only contain alpha-numeric character, '_'
and '-'
.
val pp : t Fmt.t
pp
is the pretty-printer for references.
val pp_name : name Fmt.t
pp_name ["a";"b";"c"]
is "a/b/c"
val pp_id : id Fmt.t
pp_id
is the pretty-printer for Git reference IDs.
val commit_hash : t -> string
commit_hash t
is t
's commit SHA1.
module Set : sig ... end
Sets of Git references.
The type for reference events' state.
val pp_event : event Fmt.t
pp_event
is the pretty-printer for reference events' state.
val index : Set.t -> t Index.t Repo.Map.t
index s
indexes s
by Git reference IDs.