package mirage-fs-unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type fs_error = [
  1. | `Unix_error of Unix.error
  2. | `Unix_errorno of int
  3. | `Negative_bytes
]
type error = [
  1. | Mirage_fs.error
  2. | fs_error
]
type write_error = [
  1. | Mirage_fs.write_error
  2. | fs_error
  3. | `Directory_not_empty
]
val pp_error : error Fmt.t
val pp_write_error : write_error Fmt.t
val mem_impl : string -> string -> (bool, error) Stdlib.result Lwt.t
val read_impl : string -> string -> int -> int -> (Cstruct.t list, error) Stdlib.result Lwt.t
val size_impl : string -> string -> (int64, error) Stdlib.result Lwt.t
val resolve_filename : string -> string -> string
val map_write_error : Unix.error -> ('a, write_error) Stdlib.result
val map_error : Unix.error -> ('a, error) Stdlib.result
val err_catcher : exn -> ('a, error) Stdlib.result Lwt.t
val write_err_catcher : exn -> ('a, write_error) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.