Sourcetype open_error = [ | `Io_misc of misc_error| `No_such_file_or_directory| `Not_a_file
] Sourcetype read_error = [ | `Closed| `Invalid_argument| `Io_misc of misc_error| `Read_out_of_bounds
] Sourcetype mkdir_error = [ | `File_exists of string| `Invalid_parent_directory| `Io_misc of misc_error| `No_such_file_or_directory
] Sourceval move_file :
src:string ->
dst:string ->
(unit, [> `Sys_error of string ]) result Sourceval copy_file :
src:string ->
dst:string ->
(unit, [> `Sys_error of string ]) result Sourceval unlink : string -> (unit, [> `Sys_error of string ]) result Sourceval classify_path :
string ->
[> `Directory | `File | `No_such_file_or_directory | `Other ]