Function kiwix::getFileContent

Function Documentation

std::string kiwix::getFileContent(const std::string &path)

Extracts content from given file.

This function provides content of a file provided it’s path.

Parameters

path – The absolute path provided in string format.

Returns

Content of corresponding file in string format.