irmin-pack

Irmin backend which stores values in a pack file
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library irmin-pack

Parameters

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

Signature

include Irmin.Type.S with type t = Contents.t
type t = Contents.t
val t : t Repr.ty
type hash = Hash.t
type key = Key.t
val hash : t -> hash
val kind : t -> Kind.t
val length_header : 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:( key -> Optint.Int63.t option ) -> hash -> t Irmin.Type.encode_bin
val decode_bin : dict:( int -> string option ) -> key_of_offset:( Optint.Int63.t -> key ) -> key_of_hash:( hash -> key ) -> t Irmin.Type.decode_bin
val decode_bin_length : string -> int -> int