| 88 | |
| 89 | |
| 90 | static std::string createDirectory(const std::string & file) |
| 91 | { |
| 92 | fs::path path = fs::path(file).parent_path(); |
| 93 | if (path.empty()) |
| 94 | return ""; |
| 95 | fs::create_directories(path); |
| 96 | return path; |
| 97 | } |
| 98 | |
| 99 | |
| 100 | static bool tryCreateDirectories(Poco::Logger * logger, const std::string & path) |
no test coverage detected