| 54 | }; |
| 55 | |
| 56 | static std::filesystem::path concat_if_not_empty(const std::filesystem::path& parent, const std::filesystem::path& child) { |
| 57 | if (child.is_absolute()) { |
| 58 | return child; |
| 59 | } |
| 60 | if (!child.empty()) { |
| 61 | return parent / child; |
| 62 | } |
| 63 | return child; |
| 64 | } |
| 65 | |
| 66 | static bool validate_version_string(std::string_view str, bool& has_label) { |
| 67 | std::array<size_t, 2> period_indices; |
no outgoing calls
no test coverage detected