irmin-pack

Irmin backend which stores values in a pack file
IN THIS PACKAGE
module Io : sig ... end
type t = Aof.t
val create_rw : path:string -> overwrite:bool -> auto_flush_threshold:int -> auto_flush_callback:( unit -> unit ) -> ( t, [> Io.create_error ] ) result
val open_rw : path:string -> end_offset:Optint.Int63.t -> dead_header_size:int -> auto_flush_threshold:int -> auto_flush_callback:( unit -> unit ) -> ( t, [> `Inconsistent_store | `Invalid_argument | `Io_misc of Io.misc_error | `No_such_file_or_directory | `Not_a_file | `Read_on_closed | `Read_out_of_bounds ] ) result
val open_ro : path:string -> end_offset:Optint.Int63.t -> dead_header_size:int -> ( t, [> `Inconsistent_store | `Invalid_argument | `Io_misc of Io.misc_error | `No_such_file_or_directory | `Not_a_file | `Read_on_closed | `Read_out_of_bounds ] ) result
val close : t -> ( unit, [> `Double_close | `Io_misc of Io.misc_error | `Pending_flush ] ) result
val end_offset : t -> Optint.Int63.t
val read_to_string : t -> off:Optint.Int63.t -> len:int -> ( string, [> Io.read_error ] ) result
val read_exn : t -> off:Optint.Int63.t -> len:int -> bytes -> unit
val append_exn : t -> string -> unit
val flush : t -> ( unit, [> Io.write_error ] ) result
val fsync : t -> ( unit, [> Io.write_error ] ) result
val refresh_end_offset : t -> Optint.Int63.t -> ( unit, [> `Rw_not_allowed ] ) result
val readonly : t -> bool
val auto_flush_threshold : t -> int option
val empty_buffer : t -> bool
val path : t -> string