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/Pack_store/Make/argument-5-Val/index.html

Parameter Make.Val

include Irmin.Type.S
type t
val t : t Repr__.Type.t
val hash : t -> Hash.t
val length_header : Irmin_pack.Pack_value.Kind.t -> [ `Varint ] option

Describes the length header formats for the data sections of pack entries.

val encode_bin : dict:(string -> int option) -> offset_of_key:(Hash.t Irmin_pack.Pack_key.t -> Optint.Int63.t option) -> Hash.t -> t Irmin.Type.encode_bin
val decode_bin : dict:(int -> string option) -> key_of_offset:(Optint.Int63.t -> Hash.t Irmin_pack.Pack_key.t) -> key_of_hash:(Hash.t -> Hash.t Irmin_pack.Pack_key.t) -> t Irmin.Type.decode_bin
val decode_bin_length : string -> int -> int
OCaml

Innovation. Community. Security.