Commit defines immutable objects to describe store updates.
type t = commit
The type for store commits.
val t : repo -> t Irmin.Type.t
t is the value type for
v r i ~parents:p t is the commit
c such that:
info c = i
parents c = p
tree c = t
val parents : commit -> commit_key list
parents c are
val key : commit -> commit_key
key c is
val of_key : repo -> commit_key -> commit option Lwt.t
of_key r k is the the commit object in
r with key
None if no such commit object exists.