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.1.tbz
sha256=cd788a8d3f4a3dd18dc160a153d4aec91eaf6b0fb41ad41464d26c79c304a98e
sha512=4f97862678d35e0b4aa814a1df51d6f8c59bcf5b611c73f0a475f9b5386ca42a4a18e65ce80fc425ddad93fcdacfcb563c52f6423777610a0bc567902f4db088

doc/irmin-pack.unix/Irmin_pack_unix/Pack_store/Make/argument-5-Val/index.html

Parameter Make.Val

include Pack_value.S with type hash := Hash.t and type key = Hash.t Pack_key.t with type key := Hash.t Pack_key.t
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 weight : t -> int

weight t is the t's LRU weight.

val encode_bin : dict:(string -> int option) -> offset_of_key:(Hash.t 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 Pack_key.t) -> key_of_hash:(Hash.t -> Hash.t Pack_key.t) -> t Irmin.Type.decode_bin
val decode_bin_length : string -> int -> int
OCaml

Innovation. Community. Security.