package irmin-pack

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

Module Make.AofSource

Sourcemodule Io : sig ... end
Sourcemodule Errs : sig ... end
Sourcetype t
Sourcetype auto_flush_procedure = [
  1. | `External of t -> unit
  2. | `Internal
]
Sourceval create_rw : path:string -> overwrite:bool -> auto_flush_threshold:int -> auto_flush_procedure:auto_flush_procedure -> (t, [> Io.create_error ]) result
Sourceval open_rw : path:string -> end_poff:Optint.Int63.t -> dead_header_size:int -> auto_flush_threshold:int -> auto_flush_procedure:auto_flush_procedure -> (t, [> `Closed | `Inconsistent_store | `Invalid_argument | `Io_misc of Io.misc_error | `No_such_file_or_directory | `Not_a_file | `Read_out_of_bounds ]) result
Sourceval open_ro : path:string -> end_poff:Optint.Int63.t -> dead_header_size:int -> (t, [> `Closed | `Inconsistent_store | `Invalid_argument | `Io_misc of Io.misc_error | `No_such_file_or_directory | `Not_a_file | `Read_out_of_bounds ]) result
Sourceval close : t -> (unit, [> `Double_close | `Io_misc of Io.misc_error | `Pending_flush ]) result
Sourceval end_poff : t -> Optint.Int63.t
Sourceval read_to_string : t -> off:Optint.Int63.t -> len:int -> (string, [> Io.read_error ]) result
Sourceval read_exn : t -> off:Optint.Int63.t -> len:int -> bytes -> unit
Sourceval append_exn : t -> string -> unit
Sourceval flush : t -> (unit, [> Io.write_error ]) result
Sourceval fsync : t -> (unit, [> Io.write_error ]) result
Sourceval refresh_end_poff : t -> Optint.Int63.t -> (unit, [> `Rw_not_allowed ]) result
Sourceval readonly : t -> bool
Sourceval auto_flush_threshold : t -> int option
Sourceval empty_buffer : t -> bool
Sourceval path : t -> string
OCaml

Innovation. Community. Security.