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 error = private [>
  1. | `Unknown_key of string
]
val pp_error : error Fmt.t
type 'a io = 'a Lwt.t
type t = FS.t
val disconnect : t -> unit io
type page_aligned_buffer = Cstruct.t
val read : t -> string -> int64 -> int64 -> (page_aligned_buffer list, error) Pervasives.result io
val mem : t -> string -> (bool, error) Pervasives.result io
val size : t -> string -> (int64, error) Pervasives.result io
val connect : FS.t -> t io
OCaml

Innovation. Community. Security.