Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type error = [
| `Block_device of block_device_error
| `Directory_not_empty of string
| `File_already_exists of string
| `Format_not_recognised of string
| `Is_a_directory of string
| `No_directory_entry of string * string
| `No_space
| `Not_a_directory of string
| `Unknown_error of string
]
type 'a io = 'a Lwt.t
type page_aligned_buffer = Cstruct.t
val read :
t ->
string ->
int ->
int ->
[ `Error of error | `Ok of page_aligned_buffer list ] io
val write :
t ->
string ->
int ->
page_aligned_buffer ->
[ `Error of error | `Ok of unit ] io