Up
module
Ir_snapshot
:
sig
Manage snapshot/revert capabilities.
#
module type
S =
sig
include
Ir_ro
.
STORE
#
type
db
#
val
to_hum :
t
->
string
#
val
of_hum :
db
->
string
->
t
#
val
create :
db
->
t
Lwt
.
t
#
val
revert :
db
->
t
->
unit
Lwt
.
t
#
val
merge :
db
->
t
->
unit
Ir_merge
.
result
Lwt
.
t
#
val
merge_exn :
db
->
t
->
unit
Lwt
.
t
#
val
watch :
db
->
key
->
(
key
*
t
)
Lwt_stream
.
t
end
#
module
Make :
functor
(S :
Ir_s
.
STORE
)
->
S
with
type
db
=
S
.
t
and
type
key
=
S
.
key
and
type
value
=
S
.
value
Add snapshot capabilities to a branch-consistent store.
end