package tar-mirage

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

Construct a read-only key-value store from an existing block device containing tar-format data.

Parameters

module BLOCK : Mirage_block_lwt.S

Signature

include Mirage_types_lwt.KV_RO
type error = private [>
  1. | `Unknown_key of string
]
val pp_error : error Fmt.t
type 'a io = 'a Lwt.t
type t
val disconnect : t -> unit io
type page_aligned_buffer = Cstruct.t
val read : t -> string -> int64 -> int64 -> (page_aligned_buffer list, error) Stdlib.result io
val mem : t -> string -> (bool, error) Stdlib.result io
val size : t -> string -> (int64, error) Stdlib.result io
val connect : BLOCK.t -> t Lwt.t
OCaml

Innovation. Community. Security.