mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-02 13:22:17 +00:00
[Backups] Fix database dump error reporting (#3175)
* [Backups] Fix database dump error reporting * Update database_dump_service.cpp
This commit is contained in:
1 parent
ff2af0c49e
commit
3e30e78158
6 files changed
+71
-13
No files matched your search
@@ -25,10 +25,16 @@
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
struct FileContentsResult {
|
||||
std::string contents;
|
||||
std::string error;
|
||||
};
|
||||
|
||||
class File {
|
||||
public:
|
||||
static bool Exists(const std::string &name);
|
||||
static void Makedir(const std::string& directory_name);
|
||||
static FileContentsResult GetContents(const std::string &file_name);
|
||||
static std::string FindEqemuConfigPath();
|
||||
static std::string GetCwd();
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user