* @brief Rebase a relative path onto the configuration directory. */
| 68 | * @brief Rebase a relative path onto the configuration directory. |
| 69 | */ |
| 70 | static String |
| 71 | makeConfigPath(const String &path) |
| 72 | { |
| 73 | if (path.empty() || path[0] == '/') { |
| 74 | return path; |
| 75 | } |
| 76 | |
| 77 | return String(TSConfigDirGet()) + "/" + path; |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * @brief parse and load a single line (base template - does nothing, see specializations for maps and vectors below) |
no test coverage detected