package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.5.2.tbz
sha256=2a1e6a7577e498fbfeb678d666da210dc48d1344637e8ecb653e1dd88c640b5f
sha512=3fb6f49a1af2f8bab1df5b6f5affaaa09f09fe892a08eb2d9de58138e56646d4a6797f3c087b22875e36e3411218ab2435fe5437ac78f323dd661932af021fad

doc/irmin-pack.unix/Irmin_pack_unix/Maker/Make/Dispatcher/Fm/Dict/index.html

Module Fm.DictSource

Sourcemodule Io : sig ... end
Sourcemodule Errs : sig ... end
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.