🡠 irmin-pack

Irmin backend which stores values in a pack file
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library irmin-pack.unix
module Io : sig ... end
type t = Control.t
val create_rw : path:string -> overwrite:bool -> Irmin_pack_unix__Control_file_intf.Payload_v3.t -> ( t, [> `File_exists of string | `Io_misc of Io.misc_error | `Ro_not_allowed | `Write_on_closed ] ) result
val open_ : path:string -> readonly:bool -> ( t, [> `Corrupted_control_file | `Io_misc of Io.misc_error | `No_such_file_or_directory | `Not_a_file | `Read_on_closed | `Unknown_major_pack_version of string ] ) result
val close : t -> ( unit, [> Io.close_error ] ) result
val payload : t -> Irmin_pack_unix__Control_file_intf.Payload_v3.t
val reload : t -> ( unit, [> `Corrupted_control_file | `Io_misc of Io.misc_error | `Read_on_closed | `Rw_not_allowed | `Unknown_major_pack_version of string ] ) result
val set_payload : t -> Irmin_pack_unix__Control_file_intf.Payload_v3.t -> ( unit, [> Io.write_error ] ) result
val readonly : t -> bool
val fsync : t -> ( unit, [> Io.write_error ] ) result