Use .cfg over unordered map
This commit is contained in:
@ -63,6 +63,11 @@ namespace Utils
|
||||
return false;
|
||||
}
|
||||
|
||||
bool RemoveFile(const std::string& file)
|
||||
{
|
||||
return DeleteFileA(file.data()) == TRUE;
|
||||
}
|
||||
|
||||
size_t FileSize(const std::string& file)
|
||||
{
|
||||
if (FileExists(file))
|
||||
|
@ -8,6 +8,7 @@ namespace Utils
|
||||
bool WriteFile(const std::string& file, const std::string& data, bool append = false);
|
||||
bool ReadFile(const std::string& file, std::string* data);
|
||||
std::string ReadFile(const std::string& file);
|
||||
bool RemoveFile(const std::string& file);
|
||||
size_t FileSize(const std::string& file);
|
||||
bool CreateDir(const std::string& dir);
|
||||
bool DirectoryExists(const std::string& file);
|
||||
|
Reference in New Issue
Block a user