package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
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 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.