Index.MakeAn abstraction on top of the index library that exposes an API that better fits the irmin-pack use case.
module K : Irmin.Hash.Stype key = K.ttype value = Optint.Int63.t * int * Irmin_pack.Pack_value.Kind.tmodule Io = Io.Unixval 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