package irmin-pack

  1. Overview
  2. Docs
Irmin backend which stores values in a pack file

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.4.3.tbz
sha256=6e430cf44aee5ffdc94f6bfad8dbc401e3ea036ed1fbcf2a8697198ecbf6d412
sha512=b969d0913f0776384fafc4f138cb5187a921e827fd9940d0b350601e1913bdecdfc5acc62ec0ff7c6906e230950a68b39bd886ba3fe37be52e1c6117ddce1791

doc/irmin-pack.unix/Irmin_pack_unix/Maker/Make/Aof/index.html

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.