Page
Library
Module
Module type
Parameter
Class
Class type
Source
Mirage_fsSourceMirageOS signatures for filesystem devices
v4.0.0
type error = [ | `Is_a_directoryCannot read or write the contents of a directory
*)| `No_directory_entryCannot find a directory entry
*)| `Not_a_directoryCannot create a directory entry in a file
*) ]The type for FS errors.
type write_error = [ | error| `File_already_existsCannot create a file with a duplicate name
*)| `No_directory_entrySomething in the path doesn't exist
*)| `No_spaceNo space left on the block device
*) ]The type for FS write errors.
pp_write_error is the pretty-printer for write errors.
type stat = {filename : string;Filename within the enclosing directory
*)read_only : bool;True means the contents are read-only
*)directory : bool;True means the entity is a directory; false means a file
*)size : int64;Size of the entity in bytes
*)}The type for Per-file/directory statistics.