Fm.IndexAn abstraction on top of the index library that exposes an API that better fits the irmin-pack use case.
type value = Optint.Int63.t * int * Irmin_pack.Pack_value.Kind.tLow level IO abstraction. A typical implementation is unix. This abstraction is meant to be dead simple. Not a lot of documentation is required.
val v_exn :
?flush_callback:(unit -> unit) ->
?fresh:bool ->
?readonly:bool ->
?throttle:[ `Block_writes | `Overcommit_memory ] ->
?lru_size:int ->
log_size:int ->
string ->
tval v :
?flush_callback:(unit -> unit) ->
?fresh:bool ->
?readonly:bool ->
?throttle:[ `Block_writes | `Overcommit_memory ] ->
?lru_size:int ->
log_size:int ->
string ->
(t, [> create_error ]) Stdlib.resultval reload : t -> (unit, [> write_error ]) Stdlib.resultval close : t -> (unit, [> write_error ]) Stdlib.resultval close_exn : t -> unitval flush : t -> with_fsync:bool -> (unit, [> write_error ]) Stdlib.resultval merge : t -> unitval try_merge : t -> unit