Pack_value.Of_commitmodule Hash : Brassaia.Hash.Smodule Key : Brassaia.Key.S with type hash = Hash.tmodule Commit :
Brassaia.Commit.Generic_key.S
with type node_key = Key.t
and type commit_key = Key.tinclude S with type t = Commit.t and type hash = Hash.t and type key = Key.tinclude Brassaia.Type.S with type t = Commit.ttype hash = Hash.ttype key = Key.tval length_header : Kind.t -> [ `Varint ] optionDescribes the length header formats for the data sections of pack entries.
val weight : t -> Brassaia_pack__.Pack_value_intf.weightweight t is the t's LRU weight.
val encode_bin :
dict:(string -> int option) ->
offset_of_key:(key -> Optint.Int63.t option) ->
hash ->
t Brassaia.Type.encode_binval decode_bin :
dict:(int -> string option) ->
key_of_offset:(Optint.Int63.t -> key) ->
key_of_hash:(hash -> key) ->
t Brassaia.Type.decode_binval to_kinded : t -> Brassaia_pack__.Pack_value_intf.kindedto_kinded t returns a kinded version of t.
val of_kinded : Brassaia_pack__.Pack_value_intf.kinded -> tof_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.
val encoding : t Data_encoding.tmodule Commit_direct : sig ... end