Module util

Source

Functionsยง

create_dir
Create a directory if it does not yet exist. There is no error if the directory already exists.
create_dir_async
Create a directory if it does not yet exist. There is no error if the directory already exists.
create_dir_res
Create a directory if it does not yet exist. There is no error if the directory already exists.
create_dir_res_async
Create a directory if it does not yet exist. There is no error if the directory already exists.
ensure_dir_exists
Ensures the provided dir exists. Returns whether it was created.
ensure_dir_exists_async
Ensures the provided dir exists. Returns whether it was created.
extract_file_ext
look_for_file
Checks whether the given path exists and is a file.
look_for_file_async
Checks whether the given path exists and is a file.