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.0.tbz
sha256=9e72efdc13324602d8da46e0492b1f4e09ad524149845e1a9106882f60ad6e1f
sha512=ae9cb4b086c7b93962aafc2ea339ac85c6d66bdf769f70a16f62fa5c74d9b194e12ac00b510be5ffac5adff3aa20fd69c4ca4067dcc966767fefcf5c02bc9969

doc/irmin-pack.unix/Irmin_pack_unix/Inode/Make_persistent/argument-4-Pack/Entry_prefix/index.html

Module Pack.Entry_prefix

type t = {
  1. hash : hash;
  2. kind : Irmin_pack.Pack_value.Kind.t;
  3. size_of_value_and_length_header : int option;
    (*

    Remaining bytes in the entry after reading the hash and the kind (i.e. the length of the length header + the value of the length header), if the entry has a length header (otherwise None).

    NOTE: the length stored in the index and in direct pack keys is the total_entry_length (including the hash and the kind).

    *)
}
val total_entry_length : t -> int option
OCaml

Innovation. Community. Security.