Utils.Io_utils
Input/output helper functions
val safe_mkdir : string -> unit
Create a folder safely
val rm_r : string -> unit
Recursively delete a folder and its contents
val rm_rf : string -> unit
Same as rm_r, but doesn't fail if the path doesn't exist
rm_r
val save_file : string -> string -> unit
Write string to file
val save_file_pp : string -> (Stdlib.Format.formatter -> 'a -> unit) -> 'a -> unit
Same as save_file, but uses a formatter
save_file
val load_file : string -> string
Read a file
val get_files : string -> string list
Read multiple files