mirage-fs-unix

Passthrough filesystem for MirageOS on Unix
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library mirage-fs-unix
Module FS_common
type fs_error = [
| `Unix_error of Unix.error
| `Unix_errorno of int
| `Negative_bytes
]
type error = [
| Mirage_fs.error
| fs_error
]
type write_error = [
| Mirage_fs.write_error
| fs_error
| `Directory_not_empty
]
val pp_error : error Fmt.t
val pp_write_error : write_error Fmt.t
val mem_impl : string -> string -> ( bool, error ) result Lwt.t
val read_impl : string -> string -> int -> int -> ( Cstruct.t list, error ) result Lwt.t
val size_impl : string -> string -> ( int64, error ) result Lwt.t
val resolve_filename : string -> string -> string
val map_write_error : Unix.error -> ( 'a, write_error ) result
val map_error : Unix.error -> ( 'a, error ) result
val err_catcher : exn -> ( 'a, error ) result Lwt.t
val write_err_catcher : exn -> ( 'a, write_error ) result Lwt.t