package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Io : sig ... end
type 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 ]) 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.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 ]) result
val set_payload : t -> Irmin_pack_unix__Control_file_intf.Latest_payload.t -> (unit, [> Io.write_error ]) result
val readonly : t -> bool
val fsync : t -> (unit, [> Io.write_error ]) result
OCaml

Innovation. Community. Security.