package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Io : sig ... end
type t = Control.t
val create_rw : path:string -> overwrite:bool -> Irmin_pack_unix__Control_file_intf.Latest_payload.t -> (t, [> `File_exists of string | `Io_misc of Io.misc_error | `Ro_not_allowed | `Write_on_closed ]) Stdlib.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 ]) Stdlib.result
val close : t -> (unit, [> Io.close_error ]) Stdlib.result
val payload : t -> Irmin_pack_unix__Control_file_intf.Latest_payload.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 ]) Stdlib.result
val set_payload : t -> Irmin_pack_unix__Control_file_intf.Latest_payload.t -> (unit, [> Io.write_error ]) Stdlib.result
val readonly : t -> bool
val fsync : t -> (unit, [> Io.write_error ]) Stdlib.result
OCaml

Innovation. Community. Security.