View Source t__utils (t__ v0.1.0)

Link to this section Summary

Functions

Deletes file or directory File. If File is a directory, its contents is first recursively deleted. Same as new file:del_dir_r/1 introduced in OTP 23.0 for compatibility with older Erlang
List files into the directory with the specified extension
Convert a name (list, atom, binary) to string.

Link to this section Functions

-spec dir_del_r(File) -> ok | {error, Reason}
             when File :: file:name_all(), Reason :: file:posix() | badarg.
Deletes file or directory File. If File is a directory, its contents is first recursively deleted. Same as new file:del_dir_r/1 introduced in OTP 23.0 for compatibility with older Erlang
Link to this function

dir_list_files(Dir, Types, Extensions)

View Source
List files into the directory with the specified extension
-spec name_to_string(Name) -> string() when Name :: string() | atom() | binary().
Convert a name (list, atom, binary) to string.