Module Conex_unix_persistency
File system operations using Unix
val mkdir : ?mode:int -> string -> (unit, string) Stdlib.result
mkdir ~mode name
creates a directoryname
, or errors.
val file_type : string -> (Conex_utils.file_type, string) Stdlib.result
file_type path
is the file type ofpath
or error.
val read_file : string -> (string, string) Stdlib.result
read_file path
is the contents ofpath
or error.
val write_file : ?mode:int -> string -> string -> (unit, string) Stdlib.result
write_file ~mode path data
writesdata
underpath
or error.