Make.CommitCommit defines immutable objects to describe store updates.
type t = commitThe type for store commits.
val t : repo -> t Irmin.Type.tt is the value type for t.
val pp_hash : t Fmt.tpp is the pretty-printer for commit. Display only the hash.
val v :
?clear:bool ->
repo ->
info:info ->
parents:commit_key list ->
tree ->
commit Lwt.tv r i ~parents:p t is the commit c such that:
info c = iparents c = ptree c = tWhen clear is set (the default), the tree cache is emptied upon the function's completion, mirroring the effect of invoking Tree.clear.
val parents : commit -> commit_key listparents c are c's parents.
val key : commit -> commit_keykey c is c's key.
val of_key : repo -> commit_key -> commit option Lwt.tof_key r k is the the commit object in r with key k, or None if no such commit object exists.