| 11 | { |
| 12 | namespace fs = std::filesystem; |
| 13 | |
| 14 | static std::string ensureTrailingSep(const std::string& path) |
| 15 | { |
| 16 | if (path.empty()) |
| 17 | return path; |
| 18 | if (path.back() != '/' && path.back() != '\\') |
| 19 | return path + '/'; |
| 20 | return path; |
| 21 | } |
| 22 | |
| 23 | static std::string usersDir(const std::string& basePath) |
no test coverage detected