6 #ifndef UTILS_CHECK_USER_RIGHTS_H 7 #define UTILS_CHECK_USER_RIGHTS_H 10 #include <Utils/Filesystem.h> 20 const auto testfile_name =
"tester.txt";
21 if (std::ofstream(testfile_name).good())
bool HasPermissionToWriteHere()
Function returns if the current user has the right to write into the project directory.
Definition: CheckUserRights.h:18
bool FileRemove(const std::string &file)
Deletes a specified file from the system. Deleted file will not appear in recycle bin...
Definition: Filesystem.h:64
General namespace for utilities.
Definition: BulletConversions.h:9