package irmin-pack

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

Module Internal.DictSource

Sourcemodule Io : Io.S

Low level IO abstraction. A typical implementation is unix. This abstraction is meant to be dead simple. Not a lot of documentation is required.

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

Innovation. Community. Security.