package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.10.0.tbz
sha256=92a9de7a0a2a35c2feba0c35a806b1f0df24c1c0d15164eebf3f919296d26715
sha512=0203ec5117a851ad5afeb2f9091659b4e142e231b6b945caab93f4d7beb23397c8ac43f7056e91d18f4bff0be1062f6ae966d221f877c229328c0cbbf29fd9f0

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. | V1_stable of v
  2. | V1_unstable of v
  3. | V2_root of v1
  4. | V2_nonroot of v1
type t = {
  1. hash : hash;
  2. tv : tagged_v;
}
val t : t Irmin.Type.t
OCaml

Innovation. Community. Security.