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.2.tbz
sha256=964512f77697947a73dd1875c634d6804e98f14167c5aadd3c4f85b5f30ffb53
sha512=d56d3285daa2dd36f1eaff867af5c8f44c61bba4de1a5c7bb5347652dbc460c343483ab61de1a9302f664af357eacc964dc5c8b4477f6d01372dc028b162e98b

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.