Current_git.Commit_id
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 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