Functions | |
bool | file_exists (const std::string &name) |
Check if a file exists regardless of types. More... | |
bool | folder_exists (std::string foldername) |
Checks if a folder exists. More... | |
int | _mkdir (const char *path) |
Portable wrapper for mkdir. More... | |
int | mkdir (const char *path) |
Recursive, portable wrapper for mkdir. More... | |
int utils::_mkdir | ( | const char * | path | ) |
Portable wrapper for mkdir.
Internally used by mkdir()
[in] | path | the full path of the directory to create. |
Definition at line 85 of file helpers.hpp.
|
inline |
Check if a file exists regardless of types.
name | filename and path to check |
Definition at line 63 of file helpers.hpp.
bool utils::folder_exists | ( | std::string | foldername | ) |
Checks if a folder exists.
foldername | path to the folder to check. |
Definition at line 73 of file helpers.hpp.
int utils::mkdir | ( | const char * | path | ) |
Recursive, portable wrapper for mkdir.
[in] | path | the full path of the directory to create. |
Definition at line 103 of file helpers.hpp.