IStdlib.ISys
val file_exists : ?follow_symlinks:bool -> string -> bool
Similar to Sys.file_exists_exn, but it returns false when the result is unknown, instead of raising an exception. follow_symlinks is true by default.
Sys.file_exists_exn
false
follow_symlinks
val is_directory : ?follow_symlinks:bool -> string -> [ `No | `Unknown | `Yes ]
val is_file : ?follow_symlinks:bool -> string -> [> `No | `Unknown | `Yes ]
val fold_dir : init:'a -> f:('a -> string -> 'a) -> string -> 'a