package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.5.2.tbz
sha256=2a1e6a7577e498fbfeb678d666da210dc48d1344637e8ecb653e1dd88c640b5f
sha512=3fb6f49a1af2f8bab1df5b6f5affaaa09f09fe892a08eb2d9de58138e56646d4a6797f3c087b22875e36e3411218ab2435fe5437ac78f323dd661932af021fad

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

Module Pack.Entry_prefixSource

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.