package irmin-pack

  1. Overview
  2. Docs
Irmin backend which stores values in a pack file

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.11.0.tbz
sha256=09996fbcc2c43e117a9bd8e9028c635e81cccb264d5e02d425ab8b06bbacdbdb
sha512=0391a6bf7b94a1edd50a3a8df9e58961739fa78d7d689d61f56bc87144483bad2ee539df595c33d9d52c29b3458da5dddf3a73b5eb85e49c4667c26d2cd46be1

doc/irmin-pack.unix/Irmin_pack_unix/Maker/Make/argument-1-Schema/Commit/index.html

Module Schema.Commit

Parameters

module Node_key : Irmin.Key.S with type hash = Hash.t
module Commit_key : Irmin.Key.S with type hash = Hash.t

Signature

Commit values

type t

The type for commit values.

val t : t Irmin.Type.t
type node_key = Node_key.t

Type for node keys.

val node_key_t : node_key Irmin.Type.t
type commit_key = Commit_key.t

Type for commit keys.

val commit_key_t : commit_key Irmin.Type.t
val v : info:Info.t -> node:node_key -> parents:commit_key list -> t

Create a commit.

val node : t -> node_key

The underlying node key.

val parents : t -> commit_key list

The commit parents.

val info : t -> Info.t

The commit info.

OCaml

Innovation. Community. Security.