| 40 | } |
| 41 | |
| 42 | std::string join_path(std::string_view prefix, std::string_view key) { |
| 43 | if (prefix.empty()) { |
| 44 | return std::string(key); |
| 45 | } |
| 46 | std::string path(prefix); |
| 47 | path += '.'; |
| 48 | path += key; |
| 49 | return path; |
| 50 | } |
| 51 | |
| 52 | void flatten_node( |
| 53 | yaml_document_t & document, |
no test coverage detected