* @brief Rebase a relative path onto the configuration directory. */
| 67 | * @brief Rebase a relative path onto the configuration directory. |
| 68 | */ |
| 69 | static String |
| 70 | makeConfigPath(const String &path) |
| 71 | { |
| 72 | if (path.empty() || path[0] == '/') { |
| 73 | return path; |
| 74 | } |
| 75 | |
| 76 | return String(TSConfigDirGet()) + "/" + path; |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * @brief a helper function which loads the entry-point to region from files. |
no test coverage detected