package current_git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Stdlib.Set.OrderedType
type t
val compare : t -> t -> int
val v : repo:string -> gref:string -> hash:string -> t

v ~repo ~gref ~hash identifies a commit that can be fetched from repo using gref as the reference name and has hash hash.

val repo : t -> string

repo t is the Git URI of the repository.

val gref : t -> string
val hash : t -> string
val equal : t -> t -> bool
val pp : t Fmt.t
val pp_user_clone : t Fmt.t

Display a Git command a user could run to get this commit.

val digest : t -> string