package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Io : sig ... end
val create_rw : path:string -> overwrite:bool -> auto_flush_threshold:int -> auto_flush_callback:(unit -> unit) -> (t, [> Io.create_error ]) Stdlib.result
val open_rw : path:string -> end_offset:Optint.Int63.t -> dead_header_size:int -> auto_flush_threshold:int -> auto_flush_callback:(unit -> unit) -> (t, [> Io.open_error ]) Stdlib.result
val open_ro : path:string -> end_offset:Optint.Int63.t -> dead_header_size:int -> (t, [> Io.open_error ]) Stdlib.result
val close : t -> (unit, [> `Double_close | `Io_misc of Io.misc_error | `Pending_flush ]) Stdlib.result
val end_offset : t -> Optint.Int63.t
val read_to_string : t -> off:Optint.Int63.t -> len:int -> (string, [> Io.read_error ]) Stdlib.result
val read_exn : t -> off:Optint.Int63.t -> len:int -> bytes -> unit
val append_exn : t -> string -> unit
val flush : t -> (unit, [> Io.write_error ]) Stdlib.result
val fsync : t -> (unit, [> Io.write_error ]) Stdlib.result
val refresh_end_offset : t -> Optint.Int63.t -> (unit, [> `Rw_not_allowed ]) Stdlib.result
val readonly : t -> bool
val auto_flush_threshold : t -> int option
val empty_buffer : t -> bool
val path : t -> string
OCaml

Innovation. Community. Security.