package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.4.3.tbz
sha256=6e430cf44aee5ffdc94f6bfad8dbc401e3ea036ed1fbcf2a8697198ecbf6d412
sha512=b969d0913f0776384fafc4f138cb5187a921e827fd9940d0b350601e1913bdecdfc5acc62ec0ff7c6906e230950a68b39bd886ba3fe37be52e1c6117ddce1791

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.