| 120 | static const char* GetCurrentApp(const char* defaultPath=NULL) { return _CurrentApp ? _CurrentApp.c_str() : defaultPath; } |
| 121 | static bool GetCurrentApp(std::string& path) { return _CurrentApp ? (path.assign(_CurrentApp), true) : false; } |
| 122 | static const char* GetCurrentDir(const char* defaultPath=NULL) { return _CurrentDirs ? _CurrentDirs.back().c_str() : defaultPath; } |
| 123 | static bool GetCurrentDir(std::string& path) { return _CurrentDirs ? (path.assign(_CurrentDirs.back()),true) : false; } |
| 124 | |
| 125 | static bool CreateDirectory(Exception& ex, const std::string& path, Mode mode = LOW) { return CreateDirectory(ex, path.data(),path.size(),mode); } |
nothing calls this directly
no outgoing calls
no test coverage detected