| 12 | } |
| 13 | |
| 14 | bool is_existing_file(const std::filesystem::path & path) { |
| 15 | std::error_code ec; |
| 16 | return std::filesystem::is_regular_file(path, ec); |
| 17 | } |
| 18 | |
| 19 | std::filesystem::path require_directory(const std::filesystem::path & path, std::string_view role) { |
| 20 | if (!is_existing_directory(path)) { |
no outgoing calls
no test coverage detected