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.3.tbz
sha256=6e430cf44aee5ffdc94f6bfad8dbc401e3ea036ed1fbcf2a8697198ecbf6d412
sha512=b969d0913f0776384fafc4f138cb5187a921e827fd9940d0b350601e1913bdecdfc5acc62ec0ff7c6906e230950a68b39bd886ba3fe37be52e1c6117ddce1791

doc/irmin-pack/Irmin_pack/Pack_value/Of_contents/index.html

Module Pack_value.Of_contentsSource

Parameters

module _ : Config
module Key : sig ... end

Signature

include Irmin.Type.S with type t = Contents.t
Sourceval t : t Repr__.Type.t
Sourcetype hash = Hash.t
Sourcetype key = Key.t
Sourceval hash : t -> hash
Sourceval kind : t -> Kind.t
Sourceval length_header : Kind.t -> [ `Varint ] option

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

Sourceval weight : t -> int

weight t is the t's LRU weight.

Sourceval encode_bin : dict:(string -> int option) -> offset_of_key:(key -> Optint.Int63.t option) -> hash -> t Irmin.Type.encode_bin
Sourceval decode_bin : dict:(int -> string option) -> key_of_offset:(Optint.Int63.t -> key) -> key_of_hash:(hash -> key) -> t Irmin.Type.decode_bin
Sourceval decode_bin_length : string -> int -> int
OCaml

Innovation. Community. Security.