package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Pack_value.S with type hash = hash
include Irmin.Type.S
type t
val t : t Repr__.Type.t
type hash = hash
val hash : t -> hash
val kind : t -> Pack_value.Kind.t
val encode_bin : dict:(string -> int option) -> offset:(hash -> Optint.Int63.t option) -> t -> hash -> (string -> unit) -> unit
val decode_bin : dict:(int -> string option) -> hash:(Optint.Int63.t -> hash) -> string -> int -> int * t
val decode_bin_length : string -> int -> int
val depth : t -> int option
exception Invalid_depth of {
  1. expected : int;
  2. got : int;
  3. v : t;
}