package mirage-fs-lwt

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Consider a filesystem device as a key/value read-only store.

Parameters

module FS : S

Signature

include Mirage_kv_lwt.RO with type t = FS.t
type nonrec error = private [>
  1. | Mirage_kv.error
]
val pp_error : error Fmt.t
type 'a io = 'a Lwt.t
type t = FS.t
val disconnect : t -> unit io
type key = Mirage_kv.Key.t
type value = string
val exists : t -> key -> ([ `Dictionary | `Value ] option, error) Pervasives.result io
val get : t -> key -> (value, error) Pervasives.result io
val list : t -> key -> ((string * [ `Dictionary | `Value ]) list, error) Pervasives.result io
val last_modified : t -> key -> (int * int64, error) Pervasives.result io
val digest : t -> key -> (string, error) Pervasives.result io
val connect : FS.t -> t io
OCaml

Innovation. Community. Security.