package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.6.1.tbz
sha256=11fc2570bdbfd48478c89113fc801084a84a9a2c12d9bf8c64e05ce64ae19bd7
sha512=2171699ca24dec5c9c908a2676b272e034c14eb17f7052a794535e52af0be40be68a689e59c0a640ee244b11703320483f4d0c261542e6242ba23a8f1272b9b0

doc/irmin-pack.unix/Irmin_pack_unix/Inode/Make_persistent/argument-3-Inter/Compress/index.html

Module Inter.Compress

type dict_key = int
type pack_offset = Optint.Int63.t
type name =
  1. | Indirect of dict_key
  2. | Direct of Val.step
type address =
  1. | Offset of pack_offset
  2. | Hash of hash
type ptr = {
  1. index : dict_key;
  2. hash : address;
}
type tree = {
  1. depth : dict_key;
  2. length : dict_key;
  3. entries : ptr list;
}
type value =
  1. | Contents of name * address * Val.metadata
  2. | Node of name * address
type v =
  1. | Values of value list
  2. | Tree of tree
type v1 = {
  1. mutable length : int;
  2. v : v;
}
type tagged_v =
  1. | V0_stable of v
  2. | V0_unstable of v
  3. | V1_root of v1
  4. | V1_nonroot of v1
type t = {
  1. hash : hash;
  2. tv : tagged_v;
}
val t : t Irmin.Type.t
OCaml

Innovation. Community. Security.