package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Io : Io.S

Signature

module Io = Io
type t
val find : t -> int -> string option
val index : t -> string -> int option
val create_rw : overwrite:bool -> path:string -> (t, [> Io.create_error ]) result
val open_rw : size:Optint.Int63.t -> dead_header_size:int -> string -> (t, [> Io.open_error | Io.read_error | `Inconsistent_store ]) result
val open_ro : size:Optint.Int63.t -> dead_header_size:int -> string -> (t, [> Io.open_error | Io.read_error | `Inconsistent_store ]) result
val refresh_end_poff : t -> Optint.Int63.t -> (unit, [> Io.read_error | `Rw_not_allowed ]) result
val empty_buffer : t -> bool
val end_poff : t -> Optint.Int63.t
val close : t -> (unit, [> Io.close_error | `Pending_flush ]) result
val fsync : t -> (unit, [> Io.write_error ]) result
val flush : t -> (unit, [> Io.write_error ]) result
OCaml

Innovation. Community. Security.