Portable.Of_commit
A node implementation with hashes for keys is trivially portable:
type hash = S.hash
type t = S.t
The type for commit values.
type node_key = hash
Type for node keys.
type commit_key = hash
Type for commit keys.
val commit_key_t : commit_key Type.t
module Info = S.Info
The type for commit info.
val v : info:Info.t -> node:node_key -> parents:commit_key list -> t
Create a commit.
val parents : t -> commit_key list
The commit parents.