Fat.KV_RO
KV_RO is a read-only key=value store backed by a simple FAT filesystem on a block device.
module B : Mirage_block.S
include Mirage_kv.RO
type nonrec error = private [>
|
Mirage_kv.error
]
val pp_error : error Fmt.t
type t
val disconnect : t -> unit Lwt.t
type key = Mirage_kv.Key.t
val exists : t -> key -> ( [ `Dictionary | `Value ] option, error ) Stdlib.result Lwt.t
val get : t -> key -> ( string, error ) Stdlib.result Lwt.t
val list : t -> key -> ( (string * [ `Dictionary | `Value ]) list, error ) Stdlib.result Lwt.t
val last_modified : t -> key -> ( int * int64, error ) Stdlib.result Lwt.t
val digest : t -> key -> ( string, error ) Stdlib.result Lwt.t
val connect : B.t -> t Lwt.t
connect block creates a key=value store over a FAT filesystem on the block device>
connect block
block