package irmin-pack

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