irmin-pack

Irmin backend which stores values in a pack file
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library irmin-pack.unix
type error = [
| `Double_close
| `File_exists of string
| `Invalid_parent_directory
| `No_such_file_or_directory
| `Not_a_file
| `Read_on_closed
| `Read_out_of_bounds
| `Ro_not_allowed
| `Write_on_closed
| `Invalid_argument
| `Decoding_error
| `Not_a_directory of string
| `Index_failure of string
| `Invalid_layout
| `Corrupted_legacy_file
| `Pending_flush
| `Rw_not_allowed
| `Migration_needed
| `Corrupted_control_file
| `Sys_error of string
| `V3_store_from_the_future
| `Unknown_major_pack_version of string
| `Inconsistent_store
]

error is the type of all errors that can occur in a result, except `Io_misc which depends on the Io module used.

val error_t : [ `Corrupted_control_file | `Corrupted_legacy_file | `Decoding_error | `Double_close | `File_exists of string | `Inconsistent_store | `Index_failure of string | `Invalid_argument | `Invalid_layout | `Invalid_parent_directory | `Migration_needed | `No_such_file_or_directory | `Not_a_directory of string | `Not_a_file | `Pending_flush | `Read_on_closed | `Read_out_of_bounds | `Ro_not_allowed | `Rw_not_allowed | `Sys_error of string | `Unknown_major_pack_version of string | `V3_store_from_the_future | `Write_on_closed ] Irmin.Type.t
val pp_error : [ `Corrupted_control_file | `Corrupted_legacy_file | `Decoding_error | `Double_close | `File_exists of string | `Inconsistent_store | `Index_failure of string | `Invalid_argument | `Invalid_layout | `Invalid_parent_directory | `Migration_needed | `No_such_file_or_directory | `Not_a_directory of string | `Not_a_file | `Pending_flush | `Read_on_closed | `Read_out_of_bounds | `Ro_not_allowed | `Rw_not_allowed | `Sys_error of string | `Unknown_major_pack_version of string | `V3_store_from_the_future | `Write_on_closed ] Repr.pp
type error' = [
| `Double_close
| `File_exists of string
| `Invalid_parent_directory
| `No_such_file_or_directory
| `Not_a_file
| `Read_on_closed
| `Read_out_of_bounds
| `Write_on_closed
| `Invalid_argument
| `Decoding_error
| `Not_a_directory of string
| `Index_failure of string
| `Invalid_layout
| `Corrupted_legacy_file
| `Pending_flush
| `Rw_not_allowed
| `Migration_needed
| `Corrupted_control_file
| `V3_store_from_the_future
| `Sys_error of string
| `V3_store_from_the_future
| `Unknown_major_pack_version of string
| `Inconsistent_store
]

error' is the payload of the Pack_error exception.

error' is error without `Ro_not_allowed, because there exist a dedicated RO_not_allowed exception.

We can't use polyval inclusion because repr doesn't support it

exception Pack_error of error'
exception RO_not_allowed
module type S = sig ... end
module Make (Io : Io.S) : S with module Io = Io