package irmin-pack

  1. Overview
  2. Docs
type t
module Io : sig ... end
module Errs : sig ... end
val create : ?report_file_sizes: ((Optint.Int63.t * Optint.Int63.t * Optint.Int63.t) -> unit) -> root:string -> generation:int -> register_entries: (register_entry:(off:Optint.Int63.t -> len:int -> unit) -> unit) -> unit -> (t, Errs.t) Stdlib.result
val open_map : root:string -> generation:int -> (t, [> `Corrupted_mapping_file of string | `No_such_file_or_directory ]) Stdlib.result
val iter : t -> (off:Optint.Int63.t -> len:int -> unit) -> (unit, Errs.t) Stdlib.result
val iter_exn : t -> (off:Optint.Int63.t -> len:int -> unit) -> unit
type entry = {
  1. off : Optint.Int63.t;
  2. poff : Optint.Int63.t;
  3. len : int;
}
val find_nearest_leq : t -> Optint.Int63.t -> entry option
OCaml

Innovation. Community. Security.