Schema.Commitmodule Node_key : Brassaia.Key.S with type hash = Hash.tmodule Commit_key : Brassaia.Key.S with type hash = Hash.tval t : t Brassaia.Type.tval encoding : t Data_encoding.tencoding is the data_encoding for t.
type node_key = Node_key.tType for node keys.
val node_key_t : node_key Brassaia.Type.tval node_key_encoding : node_key Data_encoding.tnode_key_encoding is the data_encoding for node_key.
type commit_key = Commit_key.tType for commit keys.
val commit_key_t : commit_key Brassaia.Type.tval commit_key_encoding : commit_key Data_encoding.tcommit_key_encoding is the data_encoding for commit_key.
val init : info:Info.t -> node:node_key -> parents:commit_key list -> tinit ~info ~node ~parents returns a new commit.
val parents : t -> commit_key listThe commit parents.