package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.5.1.tbz
sha256=cd788a8d3f4a3dd18dc160a153d4aec91eaf6b0fb41ad41464d26c79c304a98e
sha512=4f97862678d35e0b4aa814a1df51d6f8c59bcf5b611c73f0a475f9b5386ca42a4a18e65ce80fc425ddad93fcdacfcb563c52f6423777610a0bc567902f4db088

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.