package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.7.1.tbz
sha256=8d1a49318bda711ed44d9ea27ecd044b1d650390633d5b08f76590689c22056f
sha512=2995e6acc53dee2c59bf473c7c16c74daebfa193df552ec83ffe88fe598e26d4d8ff5da4f0cd575adaa49efa4b317d74f2c814c1b5601bed3833d76f377b6da7

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.