Pack_value.Of_contents
module Hash : Irmin.Hash.S
module Key : sig ... end
module Contents : Irmin.Contents.S
type hash = Hash.t
type key = Key.t
val length_header : Kind.t -> [ `Varint ] option
Describes the length header formats for the data sections of pack entries.
val weight : t -> Irmin_pack__.Pack_value_intf.weight
weight t
is the t
's LRU weight.
val of_kinded : Irmin_pack__.Pack_value_intf.kinded -> t
of_kinded k
is the inverse of to_kinded t
.
It is expected that an implementation only works for k
that is returned from to_kinded t
and will raise an exception otherwise.