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 accessor
val v : root:string -> Fm.t -> (t, [> Fm.Errs.t ]) Stdlib.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 read_exn : t -> accessor -> bytes -> unit
val end_offset : t -> Optint.Int63.t
val offset_of_suffix_off : t -> Optint.Int63.t -> Optint.Int63.t
val read_in_prefix_and_suffix_exn : t -> off:Optint.Int63.t -> len:int -> bytes -> unit