Mirage_fs
MirageOS signatures for filesystem devices
v4.0.0
type error = [
| `Is_a_directory | (* Cannot read or write the contents of a directory *) |
| `No_directory_entry | (* Cannot find a directory entry *) |
| `Not_a_directory | (* Cannot create a directory entry in a file *) |
]
The type for FS errors.
val pp_error : error Fmt.t
pp_error
is the pretty-printer for errors.
type write_error = [
| error | |
| `File_already_exists | (* Cannot create a file with a duplicate name *) |
| `No_directory_entry | (* Something in the path doesn't exist *) |
| `No_space | (* No space left on the block device *) |
]
The type for FS write errors.
val pp_write_error : write_error Fmt.t
pp_write_error
is the pretty-printer for write errors.
type stat = {
}
The type for Per-file/directory statistics.
module type S = sig ... end