package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Fm : sig ... end
module Mapping_file : sig ... end
type t
type location = private
  1. | Prefix
  2. | Suffix
val location_t : location Irmin.Type.t
type accessor = private {
  1. poff : Optint.Int63.t;
  2. len : int;
  3. location : location;
}
val accessor_t : accessor Irmin.Type.t
val v : Fm.t -> (t, [> Fm.Errs.t ]) result
val create_accessor_exn : t -> off:Optint.Int63.t -> len:int -> accessor
val create_accessor_from_range_exn : t -> off:Optint.Int63.t -> min_len:int -> max_len:int -> accessor
val shrink_accessor_exn : accessor -> new_len:int -> accessor
val create_sequential_accessor_seq : t -> min_header_len:int -> max_header_len:int -> read_len:(bytes -> int) -> (Optint.Int63.t * accessor) Irmin.Export_for_backends.Seq.t
val read_exn : t -> accessor -> bytes -> unit
val end_offset : t -> Optint.Int63.t
val offset_of_suffix_poff : t -> Optint.Int63.t -> Optint.Int63.t
val read_in_prefix_and_suffix_exn : t -> off:Optint.Int63.t -> len:int -> bytes -> unit
val create_accessor_to_prefix_exn : Mapping_file.t -> off:Optint.Int63.t -> len:int -> accessor