irmin-pack

Irmin backend which stores values in a pack file
IN THIS PACKAGE
include Irmin_pack.Pack_value.S with type t = Pack.value with type hash := hash with type key := hash Irmin_pack.Pack_key.t
include Irmin.Type.S with type t = Pack.value
type t = Pack.value
val t : t Repr.ty
val hash : t -> hash
val length_header : Irmin_pack.Pack_value.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:( hash Irmin_pack.Pack_key.t -> Optint.Int63.t option ) -> hash -> t Irmin.Type.encode_bin
val decode_bin : dict:( int -> string option ) -> key_of_offset:( Optint.Int63.t -> hash Irmin_pack.Pack_key.t ) -> key_of_hash:( hash -> hash Irmin_pack.Pack_key.t ) -> t Irmin.Type.decode_bin
val decode_bin_length : string -> int -> int
val depth : t -> int option
exception Invalid_depth of {
expected : int;
got : int;
v : t;
}
val decode_children_offsets : entry_of_offset:( Optint.Int63.t -> 'a ) -> entry_of_hash:( hash -> 'a ) -> string -> int ref -> 'a list