package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.6.1.tbz
sha256=11fc2570bdbfd48478c89113fc801084a84a9a2c12d9bf8c64e05ce64ae19bd7
sha512=2171699ca24dec5c9c908a2676b272e034c14eb17f7052a794535e52af0be40be68a689e59c0a640ee244b11703320483f4d0c261542e6242ba23a8f1272b9b0

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

Module Pack_value.Of_commitSource

Parameters

module Key : Irmin.Key.S with type hash = Hash.t

Signature

include S with type t = Commit.t and type hash = Hash.t and type key = Key.t
include Irmin.Type.S with type t = Commit.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
Sourcemodule Commit_direct : sig ... end
OCaml

Innovation. Community. Security.