Function kiwix::appendToDirectory¶
Defined in File tools.h
Function Documentation¶
-
std::string
kiwix
::
appendToDirectory
(const std::string &basePath, const std::string &relativePath)¶ Append a path to another one.
This function is provided as a small helper. It is probably better to use native tools to manipulate paths.
- Parameters
basePath – the base path.
relativePath – a path to add to the base path, must be a relative path.
- Returns
The concatenation of the paths, using the right separator.