Ref.CommitCommit defines immutable objects to describe store updates.
type t = commitThe type for store commits.
v 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.