package mirage-fs-mem

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val empty : unit -> t
val read : t -> string -> int -> int -> (Cstruct.t list, Mirage_fs.error) Stdlib.result
val size : t -> string -> (int64, Mirage_fs.error) Stdlib.result
val create : t -> string -> (t, write_error) Stdlib.result
val mkdir : t -> string -> (t, write_error) Stdlib.result
val destroy : t -> string -> (t, write_error) Stdlib.result
val stat : t -> string -> (Mirage_fs.stat, Mirage_fs.error) Stdlib.result
val listdir : t -> string -> (string list, Mirage_fs.error) Stdlib.result
val write : t -> string -> int -> Cstruct.t -> (t, write_error) Stdlib.result
val equal : t -> t -> bool
val pp : t Fmt.t
OCaml

Innovation. Community. Security.